1
0
Fork 0
forked from exozyme/nginx

Public note taking server with memos

This commit is contained in:
icxven 2024-05-07 18:50:44 +05:30
parent 5e8ad9b7da
commit 20349eeae4
Signed by: x
GPG key ID: 07D47D6C17A8E630

17
x.conf
View file

@ -57,3 +57,20 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}
}
server {
listen 443 ssl;
listen [::]:443 ssl;
server_name exonus.eu.org;
ssl_certificate /etc/letsencrypt/live/exonus.eu.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/exonus.eu.org/privkey.pem;
location / {
proxy_pass http://localhost:5231;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}