Welcome! Log In Create A New Profile

Advanced

Re: location php-fpm

December 19, 2011 05:49PM
локейшены не перекрываются.

Но на всякий, вот полный конфиг:
server {
listen 12.12.12.12:80;
server_name site.ru www.site.ru;
location ^~ /stat/ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index st.php;
fastcgi_param SCRIPT_FILENAME /var/www/html$fastcgi_script_name;
include fastcgi_params;
}

location / {
proxy_pass http://24.24.24.24:80;
proxy_redirect http://24.24.24.24:80/ /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Real-IP $remote_addr;
}

location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|ico)$ {
proxy_pass http://24.24.24.24:80;
}

}
Subject Author Posted

location php-fpm

adept December 17, 2011 06:01PM

Re: location php-fpm

hg_04 December 18, 2011 03:34PM

Re: location php-fpm

Craken December 19, 2011 01:22AM

Re: location php-fpm

hg_04 December 19, 2011 02:09PM

Re: location php-fpm

Валентин Бартенев December 18, 2011 06:06PM

Re: location php-fpm

adept December 19, 2011 05:31AM

Re: location php-fpm

Валентин Бартенев December 19, 2011 05:54AM

Re: location php-fpm

Craken December 19, 2011 06:11AM

Re: location php-fpm

adept December 19, 2011 06:38AM

Re: location php-fpm

adept December 19, 2011 06:39AM

Re: location php-fpm

Craken December 19, 2011 07:11AM

Re: location php-fpm

adept December 19, 2011 10:04AM

Re: location php-fpm

Валентин Бартенев December 19, 2011 07:56AM

Re: location php-fpm

Валентин Бартенев December 19, 2011 02:36PM

Re: location php-fpm

adept December 19, 2011 05:49PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready