diff options
Diffstat (limited to 'usr/local/etc/nginx/nginx.conf')
-rw-r--r-- | usr/local/etc/nginx/nginx.conf | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/usr/local/etc/nginx/nginx.conf b/usr/local/etc/nginx/nginx.conf index acc23ac..e3a4915 100644 --- a/usr/local/etc/nginx/nginx.conf +++ b/usr/local/etc/nginx/nginx.conf @@ -109,10 +109,6 @@ http { scgi_param SCRIPT_NAME "/code"; scgi_pass 127.0.0.1:12345; } - - listen 443 ssl; - ssl_certificate /usr/local/etc/letsencrypt/live/gitjoe.xyz/fullchain.pem; - ssl_certificate_key /usr/local/etc/letsencrypt/live/gitjoe.xyz/privkey.pem; } server{ @@ -135,15 +131,15 @@ server{ return 404; } -server { - if ($host = fossil.jozanofastora.xyz) { - return 301 https://$host$request_uri; - } - - server_name fossil.jozanofastora.xyz; - listen 80; - return 404; -} +#server { +# if ($host = fossil.jozanofastora.xyz) { +# return 301 https://$host$request_uri; +# } +# +# server_name fossil.jozanofastora.xyz; +# listen 80; +# return 404; +#} server { server_name www.jozanofastora.xyz; |