Created
June 18, 2019 15:08
-
-
Save standinga/72e5435e9e76889c5941f3cb2464d5b5 to your computer and use it in GitHub Desktop.
Nginx server block for medium post about moving wordpress into docker containers
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 { | |
server_name nasulawesi.me www.nasulawesi.me; | |
location /pma/ { | |
proxy_pass http://localhost:8080/; | |
} | |
location / { | |
proxy_pass http://localhost:8000; | |
proxy_set_header Host $host; #necessary for wordpress | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment