Simple website with some JavaScript games.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
473 B

  1. server {
  2. listen 80 default_server;
  3. listen [::]:80 default_server;
  4. server_name _;
  5. server_tokens off;
  6. root /app/public;
  7. index index.php;
  8. location / {
  9. try_files $uri $uri/ /index.php$is_args$args;
  10. }
  11. location ~ \.php$ {
  12. resolver 127.0.0.11;
  13. set $upstream php:9000;
  14. include fastcgi_params;
  15. fastcgi_pass $upstream;
  16. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  17. }
  18. }