2022-09-23 14:58:02 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2022-10-21 15:55:45 +00:00
|
|
|
server_name karawale.in *.karawale.in;
|
2022-09-23 14:58:02 +00:00
|
|
|
|
2022-10-21 14:12:47 +00:00
|
|
|
ssl_certificate /home/pranav/.local/share/cert/karawale.in/fullchain.pem;
|
|
|
|
ssl_certificate_key /home/pranav/.local/share/cert/karawale.in/key.pem;
|
2022-09-23 14:58:02 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|