2014-12-27 10:09:00 +01:00
|
|
|
Useful nginx files that I will probably need and which I will forget if I
|
|
|
|
cannot read them from here.
|
2015-03-13 14:40:24 +01:00
|
|
|
|
2015-04-22 21:40:18 +02:00
|
|
|
## Arch
|
2015-03-13 14:40:24 +01:00
|
|
|
|
|
|
|
Remove the default server block and add to http block:
|
|
|
|
|
|
|
|
```
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
|
|
include /etc/nginx/sites-enabled/*;
|
|
|
|
```
|
|
|
|
|
|
|
|
PHP: todo. It has something to do with `php-fpm.sock` instead of
|
|
|
|
`php5-fpm.sock`, but that doesn't appear to be enough.
|