# Installation on v-server as a subfolder with other services in subfolders using apache

**URL:** <https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731>\
**Category:** Self-hosting\
**Created:** [2016 年 2 月 17 日午後 12:33 UTC](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731 "2016-02-17T12:33:08Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![JohnDoe1](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@JohnDoe1](https://meta.discourse.org/u/JohnDoe1)\
**Post date:** [2016 年 2 月 21 日午後 7:42 UTC](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731/25 "2016-02-21T19:42:54Z")

</div>

Ah, I see. I will try with your config and “add\_header Strict-Transport-Security “max-age=60;”;” then. Restarting nginx gave me complaints about the cert now, so I am rebuilding the app again without the web.ssl.template.yml. Another 6 long minutes…

Is it correct for the same reason I do not need to expose port 443 within the app.yml, because all the port handeling happens outside of the container, or could there be an error? I deleted the lines "expose: - “80:80"” "expose: - “443:443"” and and added “templates/web.socketed.template.yml” instead (as explained in the howto on running other websites on the same machine as Discourse).

---

_[View the full topic](https://meta.discourse.org/t/installation-on-v-server-as-a-subfolder-with-other-services-in-subfolders-using-apache/39731)._
