Created
October 8, 2024 16:39
-
-
Save gamersalpha/4fd1bce02f0f1826cdfd7c11b38b624e to your computer and use it in GitHub Desktop.
Fichier Swag pour l'application linkwarden
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; | |
listen [::]:443 ssl; | |
server_name linkwarden.domaine.fr | |
include /config/nginx/ssl.conf; | |
# client_max_body_size 0; | |
location / { | |
include /config/nginx/proxy.conf; | |
include /config/nginx/resolver.conf; | |
set $upstream_app 192.168.1.2; | |
set $upstream_port 7461; | |
set $upstream_proto http; | |
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; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection $connection_upgrade; | |
proxy_pass $upstream_proto://$upstream_app:$upstream_port; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment