Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Guillem Serra
SerrotWeb
Commits
2c4d3fa6
Commit
2c4d3fa6
authored
Aug 27, 2017
by
Guillem Serra
Browse files
Servimmm els fitxers directament de phoenix
parent
faf8bf8b
Changes
2
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
2c4d3fa6
...
...
@@ -12,8 +12,6 @@ services:
-
phoenix
phoenix
:
build
:
phoenix_web
#volumes:
# - ./phoenix_web:/app
ports
:
-
8080:8080
nginx/phoenix.conf
View file @
2c4d3fa6
...
...
@@ -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
;
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment