Setting up Reverse Proxy Nginx - Plesk
For the same subdomain, is it possible to set-up an Nginx Reverse Proxy? For the same subdomain sub.example.com I would like a Node JS application to be served when accessed on port 5683 and a...
View ArticleChunking Encoding
Hi all, What is the proper way to return an empty chunk for a middle sub-request when chunking encoding is enabled for a NGINX filter? Suppose a website is encoded into multiple chunks such that our...
View ArticleWordpress - Permanent Redirect for custom post type
I have changed the slug for a custom post type from nightlife to socialize so all of my custom posts have moved, for example from: https://www.domain.com/nightlife/my-same-custom-title1/ to...
View Articlesub filter path
I am trying to set up nginx reverse proxy with my application. I need to be able to only allow subdomain.domain. I have a login that redirects the browser to subdomain.domain/path. That works fine....
View Articlehow to Remove access_log prefix in syslog (json format)
Hi I wanna try to send access_log via syslog in json format! this is my configuration! log_format graylog_format escape=json $request_final_log; access_log syslog:server=w.x.y.z:port,tag=,nohostname...
View ArticleNew wordpress theme under main subdirectory
Hi, we try to install another wordpress under subdirectory, but once we click on the tab on new wordpres under subdirectory it will redirect to the root wordpress. please help =(
View ArticleRe: how to Remove access_log prefix in syslog (json format)
we can set escape= none to disable escaping double quotations but by a command like this: log_format graylog_format escape=none $request_final_log; access_log syslog:server=w.x.y.z:port,tag=,nohostname...
View Articlenginx can't create virtual host on port 8080
Am running `nginx version: nginx/1.19.2 (Ubuntu)` , I've set a virtual host for my domain on port 8080 , below is how the virtual host looks like server { listen 8080; #listen example.com:8080;...
View ArticleHow to consolidate these too locaion into one
[ location /wh { proxy_pass http://localhost:3000/wh; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header Host $host;...
View ArticleGetting client ip without proxy_protocol or condition for proxy_protocol in...
Hello! I have servers with nginx in stream configuration that proxy requests to servers with nginx in http configuration: [nginx stream] ---> [nginx http] On servers with nginx http, I need real IP...
View ArticleRename Permission Denied While Reading From Upstream
I recently switched from Apache to Nginx. PHP language underneath and using fastcgi_pass to php7.4-fpm to run all script file. Everything seems to be working fine. Pages are working, PHP is executing,...
View ArticleOne single 301 redirect to HTTPS + with WWW subdomain
Hello, please I don't know what I am doing wrong. I have removed a default file entry from */etc/nginx/sites-enabled* and there is only one enabled site: server { listen 80; listen 443 ssl; server_name...
View Article404 from subquery in ngx_http_auth_request_module
Hello! I have a question about ngx_http_auth_request_module. The documentation says: «The ngx_http_auth_request_module module (1.5.4+) implements client authorization based on the result of a...
View ArticleEnable IE 11 in TLS 1.2 configuration
Taken from Qualys SSL Labs User Agent Capabilities for IE 11 under Windows 7 (see link 1 below), IE 11 supports the ciphers TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,...
View ArticleReverse proxy with URI
Hello, I'm new with Nginx and i have some mistake with a configuration. I use Nginx on CentOS 7. Here is my configuration : ========== server { listen 80; server_name sub.domain.tld; location / {...
View ArticleRe: Reverse proxy with URI
I also try to invert the to location with no success Bertrand
View ArticleRe: Reverse proxy with URI
Hi, Remove / doesn't change anything. I got the same issue... i configured a new "server" with a port (9901) for testing like this : server { listen 80; server_name sub.domain.tld 192.168.1.53;...
View ArticleRe: Reverse proxy with URI
You may have to enable debug logging to see how each location is handled. And Curl to see via the headers if the server you think is connected is the same. ea., proxy_pass http://10.3.3.1:9595/; and...
View Articlemultiple htaccess to nginx URL rewrite
I am using aapanel. How can I set nginx url rewrite for multiple htaccess ? In cpanel, In my script one htaccess is in public_html and another htaccess is in public_html/public/ This htaccess is in...
View Article