It looks like the backend has not been told yet its running on 443.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,262860,262863#msg-262863
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Francis, Maxim,
Thank you for the answers.
Ádám
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
server {
listen 80;
server_name site.com www.site.com;
location / {
return 301 https://site.com$request_uri;
}
}
server {
listen 443;
server_name site.com;
[certificate setup skipped]
# phpMyAdmin
location /pma { proxy_set_header Host $http_host;
Hello!
On Mon, Nov 16, 2015 at 05:34:10PM +0200, Artem Tomyuk wrote:
> Hi all.
>
> The mission is to conditionally serve *.webp.
>
> First of all i have map in my http section.
>
> map $http_accept $webp_suffix {
>
> default "";
>
> "~*webp" ".webp";
> }
>
> T
Hi all.
The mission is to conditionally serve *.webp.
First of all i have map in my http section.
map $http_accept $webp_suffix {
default "";
"~*webp" ".webp";
}
The purpose of this map is to check if the user agent supports the webp.
The second thing we need s
Hello!
On Fri, Nov 13, 2015 at 03:37:28PM +0100, Joó Ádám wrote:
> Hi,
>
> I would like to terminate TLS connections arriving at the default
> server, only serving requests with the correct host header, relying on
> SNI.
>
> The configuration is as follows:
>
> server {
> listen 80
Hello!
On Sun, Nov 15, 2015 at 12:51:56PM +, Francis Daly wrote:
> On Fri, Nov 13, 2015 at 03:37:28PM +0100, Joó Ádám wrote:
>
> Hi there,
>
> > I would like to terminate TLS connections arriving at the default
> > server, only serving requests with the correct host header, relying on
> > S
Using the same format as the question for the answer:
socks is OSI-layer #5 HTTP is OSI-layer #7 nginx works at HTTP level
---
*B. R.*
On Mon, Nov 16, 2015 at 8:04 AM, vps4 wrote:
> how can proxy_pass use socks5 proxy like 127.0.0.1:7070
>
> Posted at Nginx Forum:
> https://forum.nginx.org/read