diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-11 17:18:35 -0400 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-04-11 17:18:35 -0400 |
commit | 64a2990c536b8a436279db9c576e75c6c1782546 (patch) | |
tree | 38865c297094d8a930fd7ee1ede97ac4ebe9fd79 /roles/webservers/files | |
parent | d740b6ab3347c66742e37ff72dfb4cfe30558781 (diff) | |
download | oldinfra-64a2990c536b8a436279db9c576e75c6c1782546.tar.gz oldinfra-64a2990c536b8a436279db9c576e75c6c1782546.zip |
hatecomputers.club stuff
Diffstat (limited to 'roles/webservers/files')
-rw-r--r-- | roles/webservers/files/levi/http.simponic.hatecomputers.club.conf | 13 | ||||
-rw-r--r-- | roles/webservers/files/levi/https.simponic.hatecomputers.club.conf | 25 |
2 files changed, 38 insertions, 0 deletions
diff --git a/roles/webservers/files/levi/http.simponic.hatecomputers.club.conf b/roles/webservers/files/levi/http.simponic.hatecomputers.club.conf new file mode 100644 index 0000000..a58af01 --- /dev/null +++ b/roles/webservers/files/levi/http.simponic.hatecomputers.club.conf @@ -0,0 +1,13 @@ +server { + listen 80; + server_name simponic.hatecomputers.club; + + location /.well-known/acme-challenge { + root /var/www/letsencrypt; + try_files $uri $uri/ =404; + } + + location / { + rewrite ^ https://simponic.hatecomputers.club$request_uri? permanent; + } +} diff --git a/roles/webservers/files/levi/https.simponic.hatecomputers.club.conf b/roles/webservers/files/levi/https.simponic.hatecomputers.club.conf new file mode 100644 index 0000000..a59145b --- /dev/null +++ b/roles/webservers/files/levi/https.simponic.hatecomputers.club.conf @@ -0,0 +1,25 @@ +server { + listen 443 ssl; + server_name simponic.hatecomputers.club; + + ssl_certificate /etc/letsencrypt/live/simponic.hatecomputers.club/fullchain.pem; + ssl_certificate_key /etc/letsencrypt/live/simponic.hatecomputers.club/privkey.pem; + ssl_trusted_certificate /etc/letsencrypt/live/simponic.hatecomputers.club/fullchain.pem; + + ssl_session_cache shared:SSL:50m; + ssl_session_timeout 5m; + ssl_stapling on; + ssl_stapling_verify on; + + ssl_protocols TLSv1 TLSv1.1 TLSv1.2; + ssl_ciphers "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4"; + + ssl_dhparam /etc/nginx/dhparams.pem; + ssl_prefer_server_ciphers on; + + root /var/www/html/static.simponic.xyz; + + location / { + try_files $uri $uri/ $uri.html =404; + } +} |