Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Talented
So, would I be able to protect a subdomain of my main domain with httpauth, just like the wp-admin page ?

From the docs I understand (maybe wrongly) that it's possible with '-exact' ... however, I'm not able to get it to work, as it still asks me 'for a valid option' ...

Any ideas ?

1 Answer

0 votes
by Expert

Please, read the documentation before asking.

Use -path=/ to protect a complete site or domain.

It cannot be easier!

by Talented
I did read the documentation. Otherwise, I wouldn't even have known that this was possible. -path=/ is probably for the root domain. Either I am dumb, or the documentation is not clear.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.