diff --git a/symfony.conf b/symfony.conf new file mode 100644 index 0000000000000000000000000000000000000000..b7a7d178d22077480b367673b7f622965497e89b --- /dev/null +++ b/symfony.conf @@ -0,0 +1,21 @@ +server { + listen 8081; + server_name localhost; + index index.php index.html; + root /var/www/html/public; + + # redirect server error pages to the static page /50x.html + error_page 500 502 503 504 /50x.html; + location = /50x.html { + root /usr/share/nginx/html; + } + + # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 + # + location / { + fastcgi_pass php-tms:9000; + fastcgi_index index.php; + include fastcgi_params; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + } +} diff --git a/tms/symfony.conf b/tms/symfony.conf.old similarity index 100% rename from tms/symfony.conf rename to tms/symfony.conf.old