metakgp / metakgp-wiki

Dockerized source for the metakgp wiki.
https://wiki.metakgp.org
GNU General Public License v3.0
23 stars 20 forks source link

[WIP] Add Ingress Update #95

Closed thealphadollar closed 3 years ago

thealphadollar commented 3 years ago

As discussed, we plan on using ingress to serve multiple applications on the wiki server and save costs.

This PR aims at bringing in the required changes to allow connection with ingress by wiki.

In the ingress, we have dedicated port 8082 to wiki and hence Nginx should listen on 8082 where all connections coming to the domain wiki.metakgp.org and static.metakgp.org will be proxied.

We have decided to allow each application to have it's own Nginx instance as well which would give independency and we will simply proxy HTTP and HTTPS requests to the concerned ports. This will also allow the applications to manage serving static files by themselves. @icyflame @amrav Do you think this is a valid approach? I'm pretty skeptical about this since I've never tried the same before and your experience would be valuable here.

NOTE: This is a provisional PR and we will be incorporating feedback and our testing results.

cc/ @grapheo12

thealphadollar commented 3 years ago

@grapheo12 Closing this PR as per our conversation.