mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-25 22:47:59 +01:00
ff57ce54dd
- !! 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)
26 lines
568 B
Text
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;
|
|
}
|
|
}
|