mirror of
				https://github.com/optim-enterprises-bv/control-pane.git
				synced 2025-10-30 17:37:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			34 lines
		
	
	
		
			825 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			825 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| server {
 | |
| 	listen *:80;
 | |
| 
 | |
| 	root /usr/local/www/clonos/public;
 | |
| 	set $php_root $document_root;
 | |
| 	client_max_body_size 0;
 | |
| 
 | |
| 	index  index.php;
 | |
| 
 | |
| 	access_log            /var/log/nginx/cbsdweb.acc combined;
 | |
| 	error_log             /var/log/nginx/cbsdweb.err;
 | |
| 
 | |
| 	location ~* \.(jpg|jpeg|gif|png|swf|tiff|swf|flv|zip|rar|bz2|iso|xz|img|css|txt|html|js|xsl|eot|svg|ttf|woff|woff2)$ {
 | |
| 		index     index.php;
 | |
| 		try_files $uri $uri/ =404;
 | |
| 	}
 | |
| 
 | |
| 	location ~ \.php$ {
 | |
| 		root          /usr/local/www/clonos/public;
 | |
| 		include       /usr/local/etc/nginx/fastcgi_params;
 | |
| 
 | |
| 		allow all;
 | |
| 		fastcgi_keep_conn on;
 | |
| 		fastcgi_param  SCRIPT_FILENAME    $php_root$fastcgi_script_name;
 | |
| 		fastcgi_pass  unix:/tmp/php-fpm.sock;
 | |
| 		fastcgi_param WORKDIR /usr/jails;
 | |
| 	}
 | |
| 
 | |
| 	location / {
 | |
| 		index     index.php;
 | |
| 		try_files $uri/index.html /index.php$is_args$args;
 | |
| 	}
 | |
| }
 | 
