mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
25 lines
670 B
Plaintext
25 lines
670 B
Plaintext
upstream backend {
|
|
server 127.0.0.1:9000;
|
|
}
|
|
server {
|
|
listen 8080;
|
|
root /var/www/simplesamlphp-1.10.0/www;
|
|
|
|
index index.php;
|
|
|
|
location /simplesaml {
|
|
alias /var/www/simplesamlphp-1.10.0/www;
|
|
|
|
location ~ \.php(/|$) {
|
|
include fastcgi_params;
|
|
fastcgi_pass backend;
|
|
fastcgi_split_path_info ^(.+?\.php)(/.+)$;
|
|
fastcgi_param SCRIPT_FILENAME $request_filename;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info if_not_empty;
|
|
proxy_set_header X-Forwarded-Port $server_port;
|
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
|
}
|
|
}
|
|
}
|
|
|