summaryrefslogtreecommitdiff
path: root/templates/nginx/ipam_nginx.conf
diff options
context:
space:
mode:
authorJulien Dessaux2018-03-13 18:49:27 +0100
committerJulien Dessaux2018-03-13 18:49:56 +0100
commit84f6a6d1c31a8dd8cc610c9e23420ccad493f477 (patch)
tree643f5458f8a940cd495f2626ee71870c87f2fd1d /templates/nginx/ipam_nginx.conf
parentEnsure sshd is running on linux servers (diff)
downloadmasterfiles-84f6a6d1c31a8dd8cc610c9e23420ccad493f477.tar.gz
masterfiles-84f6a6d1c31a8dd8cc610c9e23420ccad493f477.tar.bz2
masterfiles-84f6a6d1c31a8dd8cc610c9e23420ccad493f477.zip
Removed deprecated ipam policy and cleaned reality remnants in nagios config
Diffstat (limited to '')
-rw-r--r--templates/nginx/ipam_nginx.conf62
1 files changed, 0 insertions, 62 deletions
diff --git a/templates/nginx/ipam_nginx.conf b/templates/nginx/ipam_nginx.conf
deleted file mode 100644
index fe703ef..0000000
--- a/templates/nginx/ipam_nginx.conf
+++ /dev/null
@@ -1,62 +0,0 @@
-worker_processes 1;
-
-# This default error log path is compiled-in to make sure configuration parsing
-# errors are logged somewhere, especially during unattended boot when stderr
-# isn't normally logged anywhere. This path will be touched on every nginx
-# start regardless of error log location configured here. See
-# https://trac.nginx.org/nginx/ticket/147 for more info.
-#
-#error_log /var/log/nginx/error.log;
-
-events {
- worker_connections 1024;
-}
-
-http {
- include mime.types;
- default_type application/octet-stream;
-
- sendfile on;
- keepalive_timeout 65;
- gzip on;
-
- server {
- listen 80;
- server_name localhost;
-
- root /var/www/phpipam/;
-
- location ~ ^/(favicon.ico|robots.txt)$ {
- access_log off;
- expires max;
- }
- location ~ ^/(api/controllers|api/README|app|db|functions|install|misc|upgrade|INSTALL.txt|README|UPDATE)$ {
- deny all;
- access_log off;
- log_not_found off;
- }
- location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; }
-
- location / {
- index index.php;
- try_files $uri $uri/ index.php;
- }
-
- #error_page 404 /404.html;
-
- # redirect server error pages to the static page /50x.html
- error_page 500 502 503 504 /50x.html;
- location = /50x.html {
- root /usr/local/www/nginx-dist;
- }
- location ~ \.php$ {
- fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
- fastcgi_index index.php;
- fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- fastcgi_pass_header Authorization;
- }
- }
-}
-