diff --git a/nginx.conf b/nginx.conf index 61ef05c..96e69fb 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,35 +1,13 @@ server { - ######## TOR CHANGES ######## listen 4443; listen [::]:4443; server_name uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion; - add_header Onion-Location "http://uptime.nowherejezfoltodf4jiyl6r56jnzintap5vyjlia7fkirfsnfizflqd.onion$request_uri" always; - ######## TOR CHANGES ######## - listen 443 ssl http2; - listen [::]:443 ssl http2; - server_name uptime.nowhere.moe; -########################################## HARDENING SSL ############################################# - ssl_certificate /root/.acme.sh/uptime.nowhere.moe/fullchain.cer; - ssl_certificate_key /root/.acme.sh/uptime.nowhere.moe/uptime.nowhere.moe.key; - ssl_dhparam /root/.acme.sh/dhparam.pem; - - -# SSL Settings - ssl_protocols TLSv1.2 TLSv1.3; - ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; - ssl_prefer_server_ciphers on; - - access_log off; - error_log off; -###################################END OF HARDENING SSL########################################### - - - - root /srv/onion-uptime/www/; - location ~ \.php$ { - include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; - } + root /srv/darknet-onion-webring/www/; + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/var/run/php/php8.2-fpm.sock; + } index index.php; } +