Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Created February 20, 2018 14:18
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 ksakae1216/2b5621e5f81f2e98d877d0d322fed8eb to your computer and use it in GitHub Desktop.
Save ksakae1216/2b5621e5f81f2e98d877d0d322fed8eb to your computer and use it in GitHub Desktop.
server {
listen 80;
server_name localhost;
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
# 追加 start
location /test {
proxy_pass http://localhost:8080/manager/html;
}
# 追加 end
#error_page 404 /404.html;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment