Advertisement
valdeir2000

StackOverflow 277316

Feb 19th, 2018
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.31 KB | None | 0 0
  1. server_name myapp.com;
  2.  
  3. # Proxy funciona corretamente
  4. location / {
  5.     proxy_pass http://ipservidorjenkins/jenkins;
  6. }
  7.  
  8. # Mas aqui ele não herda o proxy definido no root
  9. location ~* \.(jpe?g|gif|css|js|png|webp)$ {
  10.     expires 1h;
  11.     # Para funcionar é necessário definir o proxy aqui também.
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement