Last active
November 23, 2024 07:04
-
-
Save reinhart1010/a2d9676c2820d7549ab28e56edd935d3 to your computer and use it in GitHub Desktop.
Minimal configuration for Nginx reverse proxy
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
server { | |
server_name subdomain.example.com; | |
location / { | |
proxy_pass http://localhost:8888; | |
include /etc/nginx/proxy_params; | |
} | |
access_log /var/log/nginx/example-subdomain.log; | |
error_log /var/log/nginx/example-subdomain-error.log crit; | |
proxy_buffer_size 128k; | |
proxy_buffers 4 256k; | |
proxy_busy_buffers_size 256k; | |
listen 80; | |
listen [::]:80; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment