Created
December 19, 2022 20:41
-
-
Save DevinNorgarb/39fa5bffed7b2d613fae23154843d4e9 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
server { | |
# The listen directive serves content based on the port defined | |
listen 80; # For IPv4 addresses | |
listen [::]:80; # For IPv6 addresses | |
# Replace the below if you have a domain name pointed to the server | |
server_name your-domain.com; | |
access_log /var/log/nginx/reverse-access.log; | |
error_log /var/log/nginx/reverse-error.log; | |
location / { | |
# Specify the proxied server's address | |
proxy_pass http://127.0.0.1:8000>; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment