Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

password change nginx #1231

Open
sscs12345 opened this issue Mar 28, 2020 · 0 comments
Open

password change nginx #1231

sscs12345 opened this issue Mar 28, 2020 · 0 comments

Comments

@sscs12345
Copy link

sscs12345 commented Mar 28, 2020

When User logs in:
fpm-access.log
28/Mar/2020:03:02:32 +0000 "GET /login.php" 200
When Admin logs in:
fpm-access.log
28/Mar/2020:03:03:15 +0000 "POST /login.php" 302
28/Mar/2020:03:03:15 +0000 "GET /userpanel.php" 302
28/Mar/2020:03:03:15 +0000 "GET /login.php" 200

There is no line in fpm-access.log after clicking change password in userpanel. It just redirects to login.php
Works for admin panel

Test here:
https:panel[dot]npchosting[dot]com/
demo
demo123

nginx version: nginx/1.10.3 (Ubuntu)

http_ssl_module
http_stub_status_module
http_realip_module
http_auth_request_module
http_addition_module
http_dav_module
http_geoip_module
http_gunzip_module
http_gzip_static_module
http_image_filter_module
http_v2_module
http_sub_module
http_xslt_module
stream_ssl_module
mail_ssl_module
module=/build/nginx
1.10.3/debian/modules/nginx
module=/build/nginx
1.10.3/debian/modules/nginx
module
module=/build/nginx
1.10.3/debian/modules/nginx
module=/build/nginx
1.10.3/debian/modules/nginx
module=/build/nginx
1.10.3/debian/modules/ngx_http_substitutions_filter_module

Linux (removed) 4.15.0-76-generic #86~16.04.1-Ubuntu SMP Mon Jan 20 11:02:50 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
`server {
if ($host = panel.npchosting.com) {
return 301 https://$host$request_uri;
} # managed by Certbot

listen 80;
server_name panel.npchosting.com;
return 301 https://panel.npchosting.com$request_uri;

}
server {
listen 443 ssl http2;
ssl_certificate removed; # managed by Certbot
ssl_certificate_key removed; # managed by Certbot
ssl_dhparam /etc/nginx/ssl/dhparam.pem;
root /home/easywi_web/htdocs/;
index index.html index.htm index.php;
server_name panel.npchosting.com;
location ~ /(keys|stuff|template|languages|downloads|tmp) { deny all; }
location / {
try_files $uri $uri/ =404;
}
location ~ .php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
try_files $fastcgi_script_name =404;
set $path_info $fastcgi_path_info;
fastcgi_param PATH_INFO $path_info;
fastcgi_index index.php;
include /etc/nginx/fastcgi.conf;
fastcgi_pass unix:/var/run/php7-fpm-panel_npchosting_com.sock;
}

}`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants