Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 80;
- listen 443 ssl;
- root /home/vagrant/www/speedygonzales/code;
- server_name speedy.dev;
- index index.php index.html;
- access_log /var/log/nginx/speedygonzales.access.log combined;
- error_log /var/log/nginx/speedygonzales.error.log;
- location ^~ /resources/static/ {
- allow all;
- }
- location ^~ /saml/ {
- allow all;
- }
- location ~ ^/.+\/ {
- deny all;
- }
- location / {
- try_files $uri $uri/ =404;
- }
- location ~ \.php$ {
- include snippets/fastcgi-php.conf;
- fastcgi_pass unix:/var/run/php5-fpm.sock;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement