nginx second site configuration
Please help me!!!!!!!!! I am trying to setup a second site using nginx but looks like all requests are going to the same place. I mean to this site here "institutoprana.com.br"If you type in...
View Articleredirect all unconfigured subdomains
Hi all,I'm happy to join NGINX community and want to share with you with my little problem.I've got wildcard entry for example.com in my DNS which points all subdomains to some machine* IN A...
View ArticleRe: nginx second site configuration
Hi rodusa,You should probably start with defining server_name for instances of your supported domainshttp://nginx.org/en/docs/http/server_names.htmland adding second configuration to enabled sites.
View ArticleRe: nginx second site configuration
VonHerman,In this config I combined the configuration of both domains and the server_name is in there. I also tried created two separated instances such as:domain1server {...server_name...
View ArticleRe: Masking query string password in access log
location /xxx {#Strip password in access.logset $temp $request;if ($temp ~ (.*)password=[^&]*(.*)) {set $temp $1password=****$2;}log_format filter '$remote_addr - $remote_user [$time_local]...
View ArticleRe: nginx second site configuration
Looks like you have problem with dynamic content from PHP. Try asking new instance for some static content like:http://agencialojavirtual.com.br/test.htmlIt it working?Also make sure that:nginx...
View ArticleNoob question - Root vs Alias and image_filter
Hi,I'm starting with nginx, and I have some problems with resize of pictures. And when I'm trying my conf, I see I did not realy undersand some basic concepts.My first problem :I have a url like this :...
View ArticleПроверка на вхождение.
Добрый день.Существует необходимость проверить на входжение некоторую системную переменную:root /www/public_html;include /etc/nginx/fastcgi_params;fastcgi_pass fpm_server;fastcgi_index...
View ArticleRe: nginx second site configuration
VonHerman, Thank you very much for the tip. I did some play around after I read the link that you posted and I got it to work when I repeated the same config instructions from the one that was working....
View ArticleNginx as reverse proxy - must point to different web servers
Hello,i'm a newbie on Nginx and i have this problem :We have Nginx as reverseproxy who point on a Java server (Platform play) - That's ok and work well :https://www.toto.frNow we would like to point to...
View ArticleRe: Noob question - Root vs Alias and image_filter
Ok, I have resolved my problem about resize.The solution is to add a location to the path. Like that :location ~ /media/test/(.*) {image_filter resize 50 10;proxy_pass...
View ArticleRe: Nginx as reverse proxy - must point to different web servers
Either create a second location block (location /nagios {...) or update the folder name on the target device to match the existing. It will be difficult to catch absolutely everything with rewrites.
View ArticleRe: Nginx as reverse proxy - must point to different web servers
Hello Doctau,I'm relatively new to nginx as well, but I think I can propose a solution to your problem. You could use a regular expression (flagged by ~) in your location path to match both...
View ArticleRe: Nginx as reverse proxy - must point to different web servers
Thanks for reply u848237 ! 8)So, for you there is no simple solution ?Have you got an idea how can i process ?
View ArticleRe: redirect all unconfigured subdomains
Separate server block with no server_name directive? Or a dedicated IP for those unconfigured?
View ArticleRe: Nginx as reverse proxy - must point to different web servers
Thanks Oliver for your quick response,I'll test your solution and will look at the wiki and i'll make a return if its OK !
View ArticleMicrosoft RPC over HTTPS
I'm struggling with the above with nginx as reverse proxy. I can see RPC_IN_DATA and RPC_OUT_DATA methods crossing the proxy, but get 503 served after a short time.Config extracts:gzip off;tcp_nodelay...
View ArticlePreserve http headers from Django using NGINX and Gunicorn
Hi,I posted a question on server fault on how to preserve the headers I set in the Django backend.It seems as nginx "removes" the headers I have set in a Django middleware.I described my problem in...
View ArticleLoad balancer deployed on same two servers as application
If I want to load balance / provide HA to two Tomcat servers using nginx then this is obviously possible top do via a 3rd server acting as a go-between (fig 1). But can I do away with this 3rd server...
View Article