How to display a custom page when accessing http://ex.com:443 with nginx
Access to https://ex.com works fine.
However, when accessing http://ex.com:443,
I want to show a custom error page, but it does not work or an error occurs in nginx.conf.
nginx comparing length of variables in config files
I need to compare the length of variables, for example,
OSpanel 6 set up nginx config
How in OSpanel 6 set up nginx config? There is not a word about this in documentation.
is it possible to use nginx proxy_pass for google spreadsheets?
I want to hide the google spreadsheets target link using proxy_pass, and only allow access to my domain from specific IPs.
I would also like to hide the full link path for example instead of https://mydomain/spreadsheets/d/1Uv4qm0kps******XkXnTJMLNeqJmgM/edit?usp=sharing
Restrict top level folder access and allow subfolders only
I am using nginx as a file explorer for my folder called logs. This logs folder has many folders like folder1, folder2, folder3 etc. and these folders have many sub folders. I want to setup a rule in nginx where I want to restrict access to all main folders i.e. folder1, folder2 and folder3. But at the same time users should be able to access all subfolders under folder1, folder2 and folder3.
How to configure nginx so that I can download files via direct links to them?
I need to configure nginx so that I can download files that are directly on the same server in the /home/ folder and the URI is the path to the file.
Example links:
Nginx rewrite and change timestamp format
Is it possible to change the timestamp format of a rewrite URL in Nginx?
Nginx not restarting
I am getting this error when I use this command systemctl status nginx.service
What is the proper way to configure proxy_pass in nginx webserver
I am facing difficulties in configuring proxy_pass in nginx setup.
Trying to set custom 404 error page on nginx
I want to use my costume error page for returning 404 errors so I’ve tried every instruction on the internet for that but none of them worked I wonder if Nginx’s latest versions still support this and if so how can I configure that?
Please help me