Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. server {
  2. listen 80;
  3. server_name 192.168.1.100;
  4.  
  5. root /var/www/pterodactyl/public;
  6. index index.html index.htm index.php;
  7. charset utf-8;
  8.  
  9. location / {
  10. try_files $uri $uri/ /index.php?$query_string;
  11. }
  12.  
  13. location = /favicon.ico { access_log off; log_not_found off; }
  14. location = /robots.txt { access_log off; log_not_found off; }
  15.  
  16. access_log off;
  17. error_log /var/log/nginx/pterodactyl.app-error.log error;
  18.  
  19. # allow larger file uploads and longer script runtimes
  20. client_max_body_size 100m;
  21. client_body_timeout 120s;
  22.  
  23. sendfile off;
  24.  
  25. location ~ \.php$ {
  26. fastcgi_split_path_info ^(.+\.php)(/.+)$;
  27. fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
  28. fastcgi_index index.php;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement