diff options
author | Johannes Schauer <josch@debian.org> | 2017-08-05 21:36:18 +0200 |
---|---|---|
committer | Johannes Schauer <josch@debian.org> | 2017-08-05 22:06:34 +0200 |
commit | e4aaa8c470537c58746dde1e8feb9b372da38248 (patch) | |
tree | b4602dc1a661cee5d4696164e8d82d91443be069 | |
parent | 181fddd63864d161189f4ed784762ce21fc44363 (diff) |
add nginx.conf example
-rw-r--r-- | debian/nginx.conf | 12 | ||||
-rw-r--r-- | debian/rss-bridge.examples | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/debian/nginx.conf b/debian/nginx.conf new file mode 100644 index 0000000..a8744a8 --- /dev/null +++ b/debian/nginx.conf @@ -0,0 +1,12 @@ +server { + listen 80; + root /usr/share/rss-bridge; + index index.php; + + location /index.php { + fastcgi_pass unix:/var/run/php5-fpm.sock; + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + include fastcgi_params; + } +} diff --git a/debian/rss-bridge.examples b/debian/rss-bridge.examples new file mode 100644 index 0000000..d483524 --- /dev/null +++ b/debian/rss-bridge.examples @@ -0,0 +1 @@ +debian/nginx.conf |