Last active
February 10, 2023 12:25
-
-
Save Niemi/701fa5db68be6df9d9c27e5aa22ab85b to your computer and use it in GitHub Desktop.
This file contains 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
upstream nexus3 { | |
server 127.0.0.1:8081; | |
keepalive 32; | |
} | |
server { | |
listen 80; | |
server_name nexus.hwdomain.io; | |
location / { | |
proxy_pass http://nexus3/; | |
proxy_http_version 1.1; | |
proxy_set_header Upgrade $http_upgrade; | |
proxy_set_header Connection "upgrade"; | |
proxy_set_header Host $http_host; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forward-Proto http; | |
proxy_set_header X-Nginx-Proxy true; | |
proxy_redirect off; | |
proxy_buffering off; | |
proxy_request_buffering off; | |
proxy_connect_timeout 600; | |
proxy_send_timeout 600; | |
proxy_read_timeout 600; | |
client_max_body_size 1024m; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment