SSL for duncgibbs atproto
This commit is contained in:
parent
49e7d8d356
commit
8b7e19334a
@ -43,6 +43,18 @@ server {
|
|||||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
server_name duncgibbs.intrusive.games;
|
||||||
|
root /var/www/intrusive-atproto/duncgibbs;
|
||||||
|
|
||||||
|
# atproto requires SSL
|
||||||
|
listen 443 ssl;
|
||||||
|
ssl_certificate /etc/letsencrypt/live/duncgibbs.intrusive.games/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/duncgibbs.intrusive.games/privkey.pem;
|
||||||
|
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||||
|
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
if ($host = intrusive.games) {
|
if ($host = intrusive.games) {
|
||||||
return 301 https://$host$request_uri;
|
return 301 https://$host$request_uri;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user