Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 893 Bytes

tracker.notmyidea.org

File metadata and controls

32 lines (24 loc) · 893 Bytes

server { listen 443 ssl; listen 80; server_name tracker.notmyidea.org;

ssl_certificate /etc/letsencrypt/live/blog.notmyidea.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/blog.notmyidea.org/privkey.pem;

include /home/poils/letsencrypt/letsencrypt-nginx/letsencrypt_nginx/options-ssl-nginx.conf;

server_name hy3ynpgh3ke4cfdy.onion;

set $path home/www/tracker.notmyidea.org; root $path; client_max_body_size 20M;

location ~ .php$ { fastcgi_param SCRIPT_FILENAME $path$fastcgi_script_name; fastcgi_pass php_backend; include fastcgi_params; }

location / { index index.html index.php; }

if ($scheme != “https”) { return 301 https://$host$request_uri; } # managed by Certbot

}