Add config for pranav's karawale.in
This commit is contained in:
parent
0b4d89ad50
commit
d1f5e9c10c
16
pranav.conf
Normal file
16
pranav.conf
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
listen [::]:443 ssl http2;
|
||||||
|
server_name karawale.in;
|
||||||
|
|
||||||
|
ssl_certificate /etc/letsencrypt/live/karawale.in/fullchain.pem;
|
||||||
|
ssl_certificate_key /etc/letsencrypt/live/karawale.in/privkey.pem;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_pass http://unix:/srv/http/pages/pranav;
|
||||||
|
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