probably easier to find again instead of the nginx conf being lost
This commit is contained in:
parent
109a6d9d47
commit
a7bde0361a
21
server_info/nginx/unloze_serverinfo.conf
Normal file
21
server_info/nginx/unloze_serverinfo.conf
Normal file
@ -0,0 +1,21 @@
|
||||
server {
|
||||
# SSL configuration
|
||||
listen 443 ssl;
|
||||
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/unloze-cert.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/unloze-key.pem;
|
||||
|
||||
access_log off; #finally stops spamming god bless
|
||||
|
||||
server_name serverinfo.unloze.com;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:5085;
|
||||
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 New Issue
Block a user