summarylogtreecommitdiffstats
path: root/nginx.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf.example')
-rw-r--r--nginx.conf.example13
1 files changed, 13 insertions, 0 deletions
diff --git a/nginx.conf.example b/nginx.conf.example
new file mode 100644
index 000000000000..ae3869280c7e
--- /dev/null
+++ b/nginx.conf.example
@@ -0,0 +1,13 @@
+server {
+ server_name dolibarr.localdomain;
+
+ root /usr/share/webapps/dolibarr/htdocs;
+ index index.php;
+
+ location ~ \.php$ {
+ try_files $uri =404;
+ fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
+ fastcgi_index index.php;
+ include fastcgi.conf;
+ }
+}