It look to me like you are redirecting from 1 to 1 :/
but, i'll remember it like there is a wp plugin for this have you
searched on wp?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,277107,277152#msg-277152
___
nginx mailing list
nginx
Hi Francis
You're right I have overseen the ^~ for the location.
So for others, the solution to "force" the location directives is..
location ^~ /thumbs/embedded {
add_header X-Served-By "IDENT1";
add_header Cache-Control public;
add_header Pragma 'public';
add_header X-Cache-Status $upstream_c
Found the answer to my question here
http://nginx.org/en/docs/http/ngx_http_core_module.html#location
"If a location is defined by a prefix string that ends with the slash
character, and requests are processed by one of proxy_pass, fastcgi_pass,
uwsgi_pass, scgi_pass, or memcached_pass, then the s
You need proxy_redirect
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,272358,272508#msg-272508
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Whitout any configuretion it's imposible to do much rather than refer you to
nginx.org documentation
http://nginx.org/en/docs/http/ngx_http_ssl_module.html
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,272444,272507#msg-272507
___
nginx mai
Hi, I'm having as so many other a subfolder with media files, but I've like
to do a simple file caching of only one of the subfolders =
/media//thumbs/embedded with path insite the domain.tld and serve them as
media.domain.tld
So what I have done is added this to my config and it's working fine wh
Hi I'm trying to override my default cache-control in my /admin/ folder
location /admin/ {
add_header “Cache-Control: no-cache”;
try_files $uri =404;
access_log off;
}
but everything have a wrong cache-age by running curl -I
curl -I
Found the answer on IRC #Freenode #nginx by catbeard
location ~ \.(png|jp?g|gif)$ {
error_page 404 /404.png;
}
http://serverfault.com/a/481612
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,267211,267213#msg-267213
What is the right way to convert this from .htaccess to nginx.conf..
##Return default placeholder image when image file on server not found
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule \.(gif|jpe?g|png) /image404.php [NC,L]
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,
Hi Francis, and of course everyone else
Another Q
Hi do have this in my domain.conf
location /admin {
index index.php;
access_log off;
log_not_found off;
expires 0;
}
but yet, everythin
Hi Francis Daly thank you very much for your reply
Let's brake this down one by one. I followed you suggestion and added
fastcgi_connect_timeout 600s; to the conf, however the pages still time out
after ~75 sec as expected do to this
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastc
Hi
I have a few questions about how do I configure it.
First question:
How do I strip the "Set-Cookie" header from all static files like css and
jpg? I know i can setup a reverse proxy and use "proxy_hide_header
Set-Cookie", but seems like foolish to make yet another host, just to
reverse to your
Hi, as I tried to write in this thread
https://forum.nginx.org/read.php?2,265663,265688#msg-265688 I'm trying to
accomplish the same
But 1. did you get it to work 2. how did you form your link in the php
script?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,228161,265810#msg-265810
Have strogled with this for 4 days now... could someone please help me?
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,265663,265681#msg-265681
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Having same issue using http2 both on my image and reverse proxy (both
nginx) the backend is running on sata disk and the proxy on ssd disk
this is why the setup is as is like this.
With http2 enabled i get some weird signs, but disabling http2 makes things
run...
So I follow this thread :)
This online tool convert your .htaccess to nice nginx stuff :) PS: IT's
not failproff but would help you a lot.
http://winginx.com/en/htaccess
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,265668,265670#msg-265670
___
nginx mailing list
have you seen or tested this module?
https://www.nginx.com/resources/wiki/modules/accept_language/
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,265666,265669#msg-265669
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailma
Hi
I'm pretty new in NginX but the directives suggest you add
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
to your config
http://nginx.org/en/docs/http/ngx_http_proxy_module.html
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,265660,265664#msg-265664
I have for hours been trying to understand and figure out how this is
working, and searched and tried a lot, but still No hair left on my head
:(
Sources for trial and errors
http://nginx.org/en/docs/http/ngx_http_secure_link_module.html#variables
http://stackoverflow.com/questions/8848919/sec
19 matches
Mail list logo