Commit 2c4d3fa6 authored by Guillem Serra's avatar Guillem Serra
Browse files

Servimmm els fitxers directament de phoenix

parent faf8bf8b
......@@ -12,8 +12,6 @@ services:
- phoenix
phoenix:
build: phoenix_web
#volumes:
# - ./phoenix_web:/app
ports:
- 8080:8080
......@@ -58,12 +58,5 @@ server {
proxy_pass http://phoenix;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
location ~* ^.+\.(css|cur|gif|gz|ico|jpg|jpeg|js|png|svg|woff|woff2)$ {
root /app/priv/static;
etag off;
expires max;
add_header Cache-Control public;
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment