summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cafe2018-09-30 00:26:27 -0300
committerDaniel Cafe2018-09-30 00:26:27 -0300
commite92b3de60777308d777672906fc58575ee9d189e (patch)
tree15627a60394cef6e26f774d0b5b38ee3c21a1329
parentfb646888228e0ebf8e9ecd189e930849863c096e (diff)
downloadaur-e92b3de60777308d777672906fc58575ee9d189e.tar.gz
Added nginx example
-rw-r--r--nginx.example.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/nginx.example.conf b/nginx.example.conf
new file mode 100644
index 00000000000..2d0f80257c2
--- /dev/null
+++ b/nginx.example.conf
@@ -0,0 +1,16 @@
+server {
+ listen 80;
+ server_name users.example.org;
+ root /usr/share/webapps/ldap-account-manager;
+
+ location ~ \.php$ {
+ fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
+ fastcgi_index index.php;
+ include fastcgi.conf;
+ }
+
+ location / {
+ index index.html;
+ }
+}
+