Use HTTPS for the whole domain but use HTTP for a subfolder of such domain.
Hello, i want to disable https and ssl in general when browsing certain subfolders of my server block. At the moment i'm using the certbot application to manage certificates on my Raspbian Stretch OS,...
View ArticleReverse Proxy with Kerberos pre authentication
Hi, is it possible to make with NGINX a reverse proxy with kerberos auth? NGINX should do all the authentication stuff, so the user don´t talk directly with the kerberos server. The goal is: - the user...
View Article[Help] Nginx regex issue for domain name filter
My website has different themes for mobile and desktop pages and that's why I want to filter the homepage as the cache is breaking the UI on devices. I tried adding: # Don't cache domain names if...
View Articleconfig nginx to have two websites
Lorell2 Members 1 post Report post Posted 1 minute ago I installed Resilio on a new/clean Ubuntu 18.04 server by following these instructions....
View ArticleHosting Wordpress Site While Maintaining Current NGINX Config
Hey Guys - I switched from Apache to NGINX a few months ago and love it - thanks to all who work on it! I've got a quick question I wanted to ask, please... I currently use NGINX on a Windows Server...
View Articlefastcgi_cache_path problem
I have two instances of nginx running (say n1 and n2) and due the nature of n2 it shoud be properly separated from n1. Therefore it has a configuration file of its own with n1 (the web server) running...
View Articlesecure_link with proxy pass
Hello guys, I would know if you know if there is a way to use secure link with proxy pass. I'm using nginx as reverse proxy but I would use it not for internal file but for proxy for remote server....
View Articlesimple Proxy no Reverse
Hi all, i am trying to configuere an ip source address based load balancer. No Reverse. All work fine, but with proxy_pass directive i get reverse proxy, so response are not send to clients directly by...
View Articlebeginner : basic question to understand an application
Hello, I'm a beginner in nginx and I have a server to manage. This server was given us everything configured so we did not do the installation. This server responds to the web request below but the...
View ArticleDocker nginx multiple sites
Hello friends, i trying to use multiple sites, i got this, but i want to hide a port 4000 of my application. I have 2 sub domains, demo.example.com and tst.example.com and i want connect...
View ArticleCannot get expires to work in secure link
I am trying to use the nginx secure link module http://nginx.org/en/docs/http/ngx_http_secure_link_module.html I want to make secure links. No matter what I try, I cannot get it to work when I try to...
View ArticleRedirects and SSL troubles
Good afternoon all, I'm having a bit of trouble working out some redirects and stuff in my config. The file in question is for a redirect from my old domain to the new one. There has been some...
View ArticleHow to except fastcgi cache for woocommerce?
Hi, I run Woocommerce on Nginx + Mariadb + Php7.3-fpm + Ubuntu 18.04 server. I googled about excerpt fastcgi cache for woocommerce but so many options i was found. i was put below code in my server...
View ArticleCorrectly handling X-Forwarded-For: in the case of multiple proxies
Plex Server Version#: 1.15.5.994 Player Version#: Custom server access URLs: [https://plex.mydomain.com:443,(http://192.168.x.x:32400/) All services are in docker containers. SSLH on 192.168.70.239...
View ArticleLoad Balancing for a Wildcard DNS does not work
I am trying to use NGINX as a load balancer for an Elastic Cloud Enterprise platform which consists of 3 VMs. The intention is to load balance a query e.g. http://xxxxxxx.ece.dev.org:9200 where xxxxxx...
View ArticleMultiple sites on one domain?
Hello, I've been trying to setup nginx to display multiple webpages on one domain. For example: https://mywebsite.com/site1 https://mywebsite.com/site2 https://mywebsite.com/site3 I would have Jenkins...
View Articlehow to add this gzip snippet to nginx
hi there, i am totally newbie, so sorry in advance if this question is too dumb. i need to add the code below to the http or inside server section in the file: # Enable Gzip compression gzip on; #...
View ArticleCase insensitive search with location block
The location block is set with the tilde/asterisk modifier for case insensitive search as: location ~* /RPNNode { root /usr/share/nginx/html; index index.html index.htm; } Then, localhost/RPNNode...
View ArticleRegexp in proxy pass map for subdomain
Hi, working with nginx reverse proxy and I'm trying to achieve mapping for proxy pass for subdomains. My code is this: http { map $server_name $backend { mail.(.*) mail_backend_http; default...
View Article