summarylogtreecommitdiffstats
path: root/nginx.example.conf
diff options
context:
space:
mode:
authorFlorian Bruhin2015-03-30 11:27:57 +0200
committerFlorian Bruhin2015-03-30 11:27:57 +0200
commitd988913841f9a9f89ed9386833a210d9f80b4281 (patch)
tree2a97340834e6c174108555ed26560fe5da2c711d /nginx.example.conf
parent845737022f530d6a389531d5ddc9d63f0517624d (diff)
downloadaur-d988913841f9a9f89ed9386833a210d9f80b4281.tar.gz
Clean up agendav.
Diffstat (limited to 'nginx.example.conf')
-rw-r--r--nginx.example.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/nginx.example.conf b/nginx.example.conf
new file mode 100644
index 000000000000..9e8d372a6a2d
--- /dev/null
+++ b/nginx.example.conf
@@ -0,0 +1,17 @@
+server {
+ listen 80;
+ server_name localhost;
+
+ root /usr/share/webapps/agendav/web/public;
+
+ location ~\.php$ {
+ try_files $uri = 404;
+ fastcgi_pass unix::/run/php-fpm/php-fpm.sock;
+ fastcgi_index index.php;
+ include fastcgi.conf;
+ }
+
+ location / {
+ try_files $uri $uri/ /index.php;
+ }
+}