Created
April 27, 2025 16:48
-
-
Save fabriziosalmi/e80733db5513f961c96725e6144c4cae to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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