Skip to content

Instantly share code, notes, and snippets.

@fabriziosalmi
Created April 27, 2025 16:48
Show Gist options
  • Save fabriziosalmi/e80733db5513f961c96725e6144c4cae to your computer and use it in GitHub Desktop.
Save fabriziosalmi/e80733db5513f961c96725e6144c4cae to your computer and use it in GitHub Desktop.
server {
listen 443 ssl;
server_name audiolibri.org;
ssl_certificate /etc/nginx/certs/audiolibri.org.crt;
ssl_certificate_key /etc/nginx/certs/audiolibri.org.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
add_header X-ICDN "proxy";
location / {
proxy_pass https://185.199.108.153;
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;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment