From 3de2b5be8e036a984088d93cd26e8271ff43df1c Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 2 May 2022 18:39:58 +0000 Subject: update --- usr/local/etc/nginx/nginx.conf | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'usr/local/etc/nginx/nginx.conf') 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; -- cgit v1.2.3