skip to Main Content

How to redirect NGINX

I'm trying to redirect from https://support.example.com.br/ for https://support.example.com.br/?SSO=1 how do i do this through nginx? my code is like this: server { listen 8080; index index.php index.html; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log; location / { rewrite ^/$ /?SSO=1$1 redirect; } location…

VIEW QUESTION

Nginx does not compress web pages

My Nginx website config with gzip on: server { listen 443 ssl; listen [::]:443 ssl; ssl_certificate /etc/letsencrypt/live/... ssl_certificate_key /etc/letsencrypt/live/... gzip on; gzip_types text/plain application/xml text/css text/js text/xml application/javascript text/javascript application/json application/xml+rss; root /home/devnote/www; index index.php index.html; access_log /var/log/nginx/devnote-ssl.access.log; error_log /var/log/nginx/devnote-ssl.error.log…

VIEW QUESTION
Back To Top
Search