1
0
mirror of https://github.com/Adam-Ant/media-server-in-a-box synced 2024-07-06 05:36:15 +00:00

Muximux support

This commit is contained in:
Adam Dodman 2017-03-02 00:20:03 +00:00
parent 9a6cca8e7f
commit 35a353da6a
2 changed files with 21 additions and 1 deletions

View File

@ -74,9 +74,17 @@ services:
web:
image: nginx:alpine
volumes:
- $VOLDIR/launcher/nginx.cfg:/etc/nginx/conf.d/media.conf
- $VOLDIR/nginx/nginx.cfg:/etc/nginx/conf.d/media.conf
- $VOLDIR/nginx/Muximux:/www
restart: always
ports:
- "80:80"
depends_on:
- plexpy
php:
image: php:fpm-alpine
working_dir: /www
volumes:
- $VOLDIR/nginx/Muximux:/www

View File

@ -3,6 +3,18 @@ server {
listen 80 default_server;
server_name "";
location / {
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass php:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
location /plex {
set $test "";