Welcome! Log In Create A New Profile

Advanced

Re: Проблема с настройкой

July 12, 2012 02:30AM
12.07.2012 10:13, sintcar666 пишет:
> После настройки nginx возникла
> проблема.nginx стоит на машине которая
> разруливает нет в сети с помощью kerio в
> сети 2 машины на которых находятся
> разные сайты соответственно nginx
> использовал для переадресации по имени
> на нужный IP в сети но один из сайтов
> который стоит на денвере грузиться не
> корректно (просто текст сайта).в чем
> проблема подскажите.
>
>
>
> #user nobody;
> worker_processes 1;
>
> error_log logs/error.log;
> #error_log logs/error.log notice;
> #error_log logs/error.log info;
>
> #pid logs/nginx.pid;
>
>
> events {
> worker_connections 1024;
> }
>
>
> http {
> include mime.types;
> default_type application/octet-stream;
>
> #log_format main '$remote_addr - $remote_user [$time_local]
> "$request" '
> # '$status $body_bytes_sent "$http_referer" '
> # '"$http_user_agent" "$http_x_forwarded_for"';
>
> #access_log logs/access.log main;
>
> sendfile on;
> tcp_nopush on;
>
> #keepalive_timeout 0;
> keepalive_timeout 65;
>
> gzip on;
>
> server {
> listen 80;
> server_name 123.ksb-42.ru;
>
> #charset koi8-r;
>
> #access_log logs/host.access.log main;
>
> location / {
> proxy_pass http://192.168.0.113:80/;
> }
>
> #error_page 404 /404.html;
>
> # redirect server error pages to the static page /50x.html
> #
> error_page 500 502 503 504 /50x.html;
> location = /50x.html {
> root html;
> }
>
> # proxy the PHP scripts to Apache listening on 127.0.0.1:80
> #
> #location ~ \.php$ {
> # proxy_pass http://127.0.0.1;
> #}
>
> # pass the PHP scripts to FastCGI server listening on
> 127.0.0.1:9000
> #
> #location ~ \.php$ {
> # root html;
> # fastcgi_pass 127.0.0.1:9000;
> # fastcgi_index index.php;
> # fastcgi_param SCRIPT_FILENAME
> /scripts$fastcgi_script_name;
> # include fastcgi_params;
> #}
>
> # deny access to .htaccess files, if Apache's document root
> # concurs with nginx's one
> #
> #location ~ /\.ht {
> # deny all;
> #}
> }
>
>
> # another virtual host using mix of IP-, name-, and port-based
> configuration
> #
> server {
> listen 80;
> server_name 87.103.211.16;
>
> location / {
> proxy_pass http://192.168.0.21:80/;
> }
> }
>
>
> # HTTPS server
> #
> #server {
> # listen 443;
> # server_name localhost;
>
> # ssl on;
> # ssl_certificate cert.pem;
> # ssl_certificate_key cert.key;
>
> # ssl_session_timeout 5m;
>
> # ssl_protocols SSLv2 SSLv3 TLSv1;
> # ssl_ciphers HIGH:!aNULL:!MD5;
> # ssl_prefer_server_ciphers on;
>
> # location / {
> # root html;
> # index index.html index.htm;
> # }
> #}
>
> }
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?21,228525,228525#msg-228525
>
> _______________________________________________
> nginx-ru mailing list
> nginx-ru@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-ru

а логи ничего не подсказывают?

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Проблема с настройкой

sintcar666 July 12, 2012 02:13AM

Re: Проблема с настройкой

harius July 12, 2012 02:30AM

Re: Проблема с настройкой

sintcar666 July 12, 2012 02:35AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready