You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
552 B

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name *;
ssl_certificate /home/pranav/.local/share/cert/;
ssl_certificate_key /home/pranav/.local/share/cert/;
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;