-
-
Save usmansaleem/3b4097b3298505c10011905beddc0f56 to your computer and use it in GitHub Desktop.
nginx configuration file. /etc/nginx/sites-available
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 80; | |
listen [::]:80; | |
server_name usmans.info www.usmans.info usman.id.au www.usman.id.au; | |
root /var/blogboot/www; | |
location / { | |
try_files $uri $uri/ @proxy; | |
} | |
location @proxy { | |
include /etc/nginx/proxy_params; | |
proxy_pass http://localhost:8080/; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment