Explaination of nginx (proxy) templates

Post Reply
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

  • 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

Tags:
verydima
Posts: 4
Joined: Fri Feb 12, 2021 12:21 am

Can you please add the template "Cache - Separate nginx Mobile and Desktop cache"? Now with template "Cache" nginx cache only 1-page version. Thanks.
User avatar
juanready
Posts: 3
Joined: Thu Feb 25, 2021 8:52 pm

Thanks for improving this great control panel, I have a question, is there any guide or template to run Nodejs applications with Myvesta CP?
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

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
Post Reply