forked from exozyme/nginx
add paste to mdwalters.conf
This commit is contained in:
parent
850b51b2ed
commit
d6324c8098
1 changed files with 17 additions and 0 deletions
|
@ -14,3 +14,20 @@ server {
|
|||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
server_name paste.max.is-probably.gay;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/paste.max.is-probably.gay/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/paste.max.is-probably.gay/privkey.pem;
|
||||
|
||||
location / {
|
||||
proxy_pass http://localhost:8820;
|
||||
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