Re: Installed WP in a subdir, can access wp-admin, but URLs are getting re-written without the subdir PATH. Where do I set this?

2018-04-30 Thread Ph. Gras
_index index.php; > } > } > location ~ \.php$ { include /etc/nginx/snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.0-fpm.sock; } You can visit this page too: https://codex.wordpress.org/Nginx Regards, Ph. Gras ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: [SOLVED] Trouble with SSL connection and let's encrypt certificates

2018-03-24 Thread Ph. Gras
e uncomment the include snippets/snakeoil.conf line on the default server and it works ;-) Does a default server necessary to make NginX efficient ? Best regards, Ph. Gras ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Trouble with SSL connection and let's encrypt certificates

2018-03-23 Thread Ph. Gras
solve my problem ? Thanks in advance, Ph. Gras ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Allow and Deny IP's

2018-02-07 Thread Ph. Gras
t; >>> Me too :-( >> >> Have you any reason to believe that this location is used to handle this >> request? > > Yes, and this especially since before, it worked as expected :-( You're right. It's working better with a / before path :-) location =/wp-lo

Re: Allow and Deny IP's

2018-02-07 Thread Ph. Gras
T | grep "www.example.com/wp-login.php" nginx: invalid option: "T" Is something missing ? # apt-show-versions | grep nginx nginx:all/jessie 1.6.2-5+deb8u5 uptodate nginx-common:all/jessie 1.6.2-5+deb8u5 uptodate nginx-full:amd64/jessie 1.6.2-5+de

Re: Allow and Deny IP's

2018-02-05 Thread Ph. Gras
.1" 200 1300 "-" "Mozilla/5.0 (Windows NT 6.0; rv:34.0) Gecko/20100101 Firefox/34.0" 95.26.90.3 - - [06/Feb/2018:00:20:11 +0100] "POST /wp-login.php HTTP/1.1" 200 1688 "http://www.example.com/wp-login.php"; "Mozilla/5.0 (Windows NT 6.0; rv:34.0) G

Why should I have a 307 redirect ?

2017-09-29 Thread Ph. Gras
return 403; } } Thanks for your help ! Ph. Gras ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: I can't access to archives of my mailman lists :

2017-09-19 Thread Ph. Gras
: "59be8a33-2220" X-Robots-Tag: noindex, noarchive Accept-Ranges: bytes It works ;-) Ph. Gras ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

I can't access to archives of my mailman lists :

2017-09-18 Thread Ph. Gras
is forbidden (13: Permission denied), client: 83.204.192.114, server: poste.enpret.com, request: "GET /pipermail/rs-idf-discuter/ HTTP/1.1", host: "poste.enpret.com", referrer: "http://poste.enpret.com/admin/rs-idf-discuter/gateway"; Does someone have an idea of this tro

Re: Bloking Bad bots

2016-11-14 Thread Ph. Gras
/definition/créole redirect; } == Regards, Ph. Gras Le 14 nov. 2016 à 16:04, "debilish99" a écrit : > Hello, > > I have a server with several domains, in the configuration file of each > domain I have a line like this to b

Re: Redirection problem again in new rules.

2016-04-14 Thread Ph. Gras
Le 14 avr. 2016 à 16:03, Muhammad Yousuf Khan a écrit : > Redirect 301 //bbb /a/bb.html > > Now i have converted this rule in nginx like this > > location // { > rewrite ^(.*)$ //bb.html redirect; > } > You should use break instead redirect : http://n

Re: Homepage cache and cookies

2016-03-25 Thread Ph. Gras
exit(); } […] ***** All pages are cached ;-) Regards, Ph. Gras Le 25 mars 2016 à 22:33, john_smith77 a écrit : > So I found a solution and it seems like there is unexpected behavior from > nginx. proxy_hide_header Set-Cookie does n