mirror of
				https://gitea.blesmrt.net/mikaela/gist.git
				synced 2025-10-31 09:27:20 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			720 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			720 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| server {
 | |
|     
 | |
|     listen 80;
 | |
|     listen [::]:80;
 | |
|     listen 443;
 | |
|     listen [::]:443;
 | |
| 
 | |
|     server_name pastebin.mikaela.info;
 | |
|     root /var/www/Stikked/htdocs;
 | |
|     index  index.php;
 | |
| 
 | |
| #   access_log /var/log/nginx/localhost.access_log combined;
 | |
| #   error_log /var/log/nginx/localhost.error_log info;
 | |
| 
 | |
|     location / {
 | |
|         try_files $uri /index.php;
 | |
|     }
 | |
| 
 | |
|     location ~ \.php$ {
 | |
|         return 444;
 | |
|     }
 | |
| 
 | |
|     location = /index.php {
 | |
|         fastcgi_pass unix:/var/run/php5-fpm.sock;
 | |
|         #fastcgi_pass 127.0.0.1:9000;
 | |
|         fastcgi_split_path_info ^(.+\.php)(.*)$;
 | |
|         #include fastcgi_params;
 | |
|         include fastcgi.conf;
 | |
|         fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
 | |
|     }
 | |
| }
 | 
