I have a nuxt ssr website that is on dev mode. I want to protect it with .htaccess
and .htpasswd
I've tried to place the file in root folder, but it doesn't prompt the http form
.htaccess
is as follow
AuthName "Restricted"
AuthType basic
AuthUserFile /somewhere/.htpasswd
Require valid-user
My Apache is configured with proxy pass
how to config htaccess with htpasswd in nuxt ssr ?