forked from exozyme/nginx
Public note taking server with memos
This commit is contained in:
parent
5e8ad9b7da
commit
20349eeae4
1 changed files with 17 additions and 0 deletions
17
x.conf
17
x.conf
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue