Merge pull request 'modify iacore.conf: try minimal config' (#21) from patch-3 into main
Reviewed-on: #21
This commit is contained in:
commit
05126f565b
18
iacore.conf
18
iacore.conf
|
@ -3,13 +3,19 @@ server {
|
|||
listen [::]:443 ssl;
|
||||
server_name www2.1a-insec.net;
|
||||
|
||||
ssl_certificate /etc/letsencrypt/live/www2.1a-insec.net/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/www2.1a-insec.net/privkey.pem;
|
||||
|
||||
root /srv/http/pages/xrablnhmov;
|
||||
index index.html;
|
||||
#ssl_certificate /etc/letsencrypt/live/www2.1a-insec.net/fullchain.pem;
|
||||
#ssl_certificate_key /etc/letsencrypt/live/www2.1a-insec.net/privkey.pem;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri.html $uri/ =404;
|
||||
proxy_pass http://unix:/srv/http/pages/xrablnhmov;
|
||||
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;
|
||||
|
||||
# # Proxy WebSockets
|
||||
# proxy_http_version 1.1;
|
||||
# proxy_set_header Upgrade $http_upgrade;
|
||||
# proxy_set_header Connection "Upgrade";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue