Pony.fm/docker/nginx/site.conf
Adam Lavin ff57ce54dd
Biggus Upgradus
- !! NEW DOCKER FILES :D !!
- getid3 is now vendored from composer! :D
- fix elasticsearch for use with newer versions
- fix some migration issues by yeeting a migration that has had its day
- fix our asset pipeline (webpack / gulp)
2021-03-27 03:51:45 +00:00

26 lines
568 B
Text

server {
root /app/public;
index index.php index.html index.htm;
client_max_body_size 600m;
location / {
try_files $uri $uri/ /index.php$is_args$args;
}
location /app/storage/app/datastore {
internal;
alias /app/storage/app/datastore/;
}
location ~ [^/]\.php(/|$) {
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
# Mitigate https://httpoxy.org/ vulnerabilities
fastcgi_param HTTP_PROXY "";
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
}
}