Page 1 of 1

Explaination of nginx (proxy) templates

Posted: Thu Aug 13, 2020 2:05 pm
by dpeca
  • caching template - will cache html output to server disk, i'm not sure how and when purge is done
  • default template - the same as hosting template, exists only for compatibility purposes
  • force-https template - the same as hosting template, but it will always redirect visitors from http to https
  • force-https-legacy template - the same as force-https template, but will pass requests for not-existent static files to Apache - see why
  • force-https-public template - the same as force-https template, but docroot will be public_html/public/ instead of public_html/ (mostly used in Laravel projects)
  • force-https-webmail-phpmyadmin template - the same as force-https template, but will allow static files for /webmail/ and /phpmyadmin/
  • hosting template - default template, it will not pass requests for not-existent static files to Apache - see why
  • hosting-legacy template - the same as hosting template, but it will pass requests for not-existent static files to Apache - see why
  • hosting-public template - the same as hosting template, but docroot will be public_html/public/ instead of public_html/ (mostly used in Laravel projects)
  • hosting-webmail-phpmyadmin template - the same as hosting template, but will allow static files for /webmail/ and /phpmyadmin/
  • private-hosting template - will put http-auth on domain, but you must first execute in SSH: htpasswd -c /etc/nginx/.htpasswd YourDesiredUsername
  • private-force-https template - the same as private-hosting template, but it will redirect visitors from http to https

Re: Explaination of nginx (proxy) templates

Posted: Thu Apr 01, 2021 5:24 pm
by verydima
Can you please add the template "Cache - Separate nginx Mobile and Desktop cache"? Now with template "Cache" nginx cache only 1-page version. Thanks.

Re: Explaination of nginx (proxy) templates

Posted: Tue Apr 13, 2021 4:10 am
by juanready
Thanks for improving this great control panel, I have a question, is there any guide or template to run Nodejs applications with Myvesta CP?

Re: Explaination of nginx (proxy) templates

Posted: Tue Apr 13, 2021 7:57 pm
by dpeca
juanready wrote:
Tue Apr 13, 2021 4:10 am
Thanks for improving this great control panel, I have a question, is there any guide or template to run Nodejs applications with Myvesta CP?
See viewtopic.php?f=20&t=350