Page MenuHomePhabricator

[keyserver] Make it possible to run Comm web app without Apache proxying to it
ClosedPublic

Authored by ashoat on Jun 3 2022, 2:07 PM.
Tags
None
Referenced Files
F3382155: D4210.id13356.diff
Thu, Nov 28, 8:47 AM
F3381988: D4210.id13332.diff
Thu, Nov 28, 7:45 AM
F3381656: D4210.diff
Thu, Nov 28, 5:44 AM
Unknown Object (File)
Sat, Nov 9, 11:41 AM
Unknown Object (File)
Sat, Nov 9, 11:41 AM
Unknown Object (File)
Fri, Nov 8, 10:11 AM
Unknown Object (File)
Fri, Nov 8, 8:35 AM
Unknown Object (File)
Fri, Nov 8, 8:08 AM

Details

Summary

To avoid breaking anybody's environment, if the proxy config is left out, we'll continue defaulting to Apache.

This diff makes it easier to test things sometimes, and perhaps somebody will want to run the Web app without a proxy. (That said, we don't currently support HTTPS/TLS without a proxy, so it would probably be a bad idea to do that on production.)

Linear task: https://linear.app/comm/issue/ENG-1221/make-it-possible-to-run-node-without-apache

Test Plan

I tested a local environment proxied over Apache and a local environment without proxying. I did not test a local environment without proxying with HTTPS enabled, as this would require adding support for certificates to the Node server, which is out of scope

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/dockerize_node
Lint
No Lint Coverage
Unit
No Test Coverage