Jump to content

Khuman

Members
  • Posts

    2
  • Joined

  • Last visited

Khuman's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Hi! I try startup phpVMS3 on my server with nginx and php-fpm. Afetr click "Start Here", I always take 404 error. My nginx config: server { listen XXX.XXX.XXX.XXX:80; server_name v3.myVA.org; access_log /var/log/nginx/v3.myVA.org.access.log; error_log /var/log/nginx/v3.myVA.error.log debug; root /www/myVA.org; index index.html index.php; gzip_static on; gzip on; gzip_comp_level 5; gzip_types application/x-javascript application/javascript text/css image/jpeg image/png; location / { try_files $uri $uri/ /index.php; } location ~* ^.+\.(jpg|jpeg|gif|png|svg|swf|ico|js|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|xml)$ { expires max; } location ~ .php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; include fastcgi_params; fastcgi_pass unix:/var/tmp/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /www/myVA.org$fastcgi_script_name; fastcgi_intercept_errors on; } } Many examples for nginx.conf for CodeIgniter framwork didn't help. Can anybody help me?
  2. Hi, all Can't connect by kACARS_Free client to site. Web server work on nginx + php-fpm. Prior to that, he worked at the site apache22 and had no problems. nginx.conf: server { listen *:80; server_name example.org; access_log /var/log/nginx/exmple.access.log; # access_log off; location / { root /www/example; index index.php index.html; if (!-e $request_filename) { rewrite ^(.*)$ /index.php?q=$1 last; } } location ~* ^.+\.(jpg|jpeg|gif|png|svg|swf|ico|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|xml)$ { root /www/example; expires max; } location ~ \.php$ { fastcgi_pass unix:/tmp/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /www/example$fastcgi_script_name; include fastcgi_params; } } Site work is correct, but kACARS_Free don't connect. Any ideas?
      • 1
      • Like
×
×
  • Create New...