Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server_name myapp.com;
- # Proxy funciona corretamente
- location / {
- proxy_pass http://ipservidorjenkins/jenkins;
- }
- # Mas aqui ele não herda o proxy definido no root
- location ~* \.(jpe?g|gif|css|js|png|webp)$ {
- expires 1h;
- # Para funcionar é necessário definir o proxy aqui também.
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement