Commit 02c3927e2c7f4e48bcf27d160cf06f37e835f856
1 parent
d01734fcf8
Exists in
master
Add php support for h5ai
Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff
nginxconf/flashy.cards
View file @
02c3927
... | ... | @@ -7,6 +7,14 @@ |
7 | 7 | |
8 | 8 | server_name flashy.cards; |
9 | 9 | listen 443 ssl; |
10 | + location ~ \.php$ { | |
11 | + try_files $uri =404; | |
12 | + fastcgi_pass unix:/var/run/php5-fpm.sock; | |
13 | + fastcgi_index index.php; | |
14 | + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
15 | + include fastcgi_params; | |
16 | + } | |
17 | + | |
10 | 18 | location / { |
11 | 19 | root /srv/flashy.cards/; |
12 | 20 | } |