Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #user nobody;
- worker_processes 1;
- events {
- worker_connections 1024;
- }
- http {
- include mime.types;
- default_type application/octet-stream;
- server_names_hash_bucket_size 64;
- sendfile on;
- keepalive_timeout 65;
- server {
- listen 80;
- #CHANGE THESE LINES##########
- server_name domain.xyz;
- root /nginx/www/organizr/html;
- #############################
- index index.php index.html index.htm;
- error_page 400 401 403 404 405 408 500 502 503 504 /?error=$status; #error page
- location ~ \.php$ {
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- include fastcgi_params;
- }
- location ~ /auth-(.*) {
- internal;
- rewrite ^/auth-(.*) /api/?v1/auth&group=$1;
- }
- location /monitorr {
- root /nginx/www;
- autoindex on;
- index index.php;
- location ~ .php$ {
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_index index.php;
- }
- }
- include /nginx/conf/rp-subfolder.conf;
- }
- include /nginx/conf/rp-subdomain.conf;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement