Skip to content

Instantly share code, notes, and snippets.

@Bemmu
Created July 21, 2017 10:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Bemmu/9e7e81da499d91b95f0a1723dca2e964 to your computer and use it in GitHub Desktop.
Save Bemmu/9e7e81da499d91b95f0a1723dca2e964 to your computer and use it in GitHub Desktop.
Foo
server {
error_log /tmp/nginx-error-8001.log;
access_log /tmp/nginx-access-8001.log;
listen 8001;
rewrite ^/plik$ /plik/ redirect;
location /plik/ {
proxy_pass http://localhost:8080/;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment