diff options
author | mikka <miklos.martin@gmail.com> | 2013-01-03 07:07:40 +0100 |
---|---|---|
committer | mikka <miklos.martin@gmail.com> | 2013-01-03 07:07:40 +0100 |
commit | c5d575ccae5ae5f30dd59037210edb8220de2cbe (patch) | |
tree | de9b14d03319a8b398db9b28ce878052b15f18a6 /plugins/nginx/templates/symfony2 | |
parent | 08f4d8b9ce43bae69a2d712456cc6bde68b4f0d1 (diff) | |
download | zsh-c5d575ccae5ae5f30dd59037210edb8220de2cbe.tar.gz zsh-c5d575ccae5ae5f30dd59037210edb8220de2cbe.tar.bz2 zsh-c5d575ccae5ae5f30dd59037210edb8220de2cbe.zip |
cleaned up
Diffstat (limited to 'plugins/nginx/templates/symfony2')
-rw-r--r-- | plugins/nginx/templates/symfony2 | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/plugins/nginx/templates/symfony2 b/plugins/nginx/templates/symfony2 deleted file mode 100644 index c2eeaec0a..000000000 --- a/plugins/nginx/templates/symfony2 +++ /dev/null @@ -1,27 +0,0 @@ -server { - root /home/{user}/www/{vhost}/web; - index app_dev.php; - - server_name {vhost}; - client_max_body_size 10M; - - error_log /var/log/nginx/{vhost}.error.log; - access_log /var/log/nginx/{vhost}.access.log; - - location / { - try_files $uri $uri/ /app_dev.php$uri /app_dev.php$is_args$args; - } - - # pass the PHP scripts to FastCGI server listening on 127.0.0.1:{pool_port} - location ~ ^/(app|app_dev|check)\.php(/|$) { - fastcgi_pass 127.0.0.1:{pool_port}; - fastcgi_split_path_info ^(.+\.php)(/.*)$; - include fastcgi_params; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - fastcgi_param HTTPS off; - } - - location ~ /\.ht { - deny all; - } -} |