nginx https server logs

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

nginx https server logs

ayman
Hello,

When I connect to HTTP site server log shows all requests.
I mean that number of requests is the same as log entries.

When I connect to HTTPS site (with Let's Encrypt, for example) server log
shows only first request.
I mean that I can refresh page again and again without new entries in server
log.

Is it misconfiguration?
I have used some manual to setup Let's Encrypt with nginx.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276227,276227#msg-276227

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: nginx https server logs

Ish Sookun
Hi Foly,

On 09/02/2017 11:30 PM, foly wrote:
> When I connect to HTTPS site (with Let's Encrypt, for example) server log
> shows only first request.
> I mean that I can refresh page again and again without new entries in server
> log.
>
> Is it misconfiguration?

What's the status code for the refreshed page? Are you getting HTTP 200?
If not, could you verify whether subsequent requests are not cached by
your browser or proxy (if you're behind one).

Regards,

Ish Sookun
_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: nginx https server logs

ayman
Hello, Ish Sookun

The status code for HTTP connection is 200. It writes to server log each
time I refresh page.
The status code for HTTPS connection is 200. But it writes to server log
only once. Then I can refresh again and again without logs. That looks very
strange.

I have found this using this modified version of nginx.
https://github.com/NeusoftSecurity/SEnginx

I have not tried official releases for a while.

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,276227,276238#msg-276238

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx