-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ingress-envoy] Set up and enable TLS #5
Conversation
@@ -3,6 +3,9 @@ | |||
"dockerComposeFile": "docker-compose.yml", | |||
"service": "app", | |||
"workspaceFolder": "/kimidori/${localWorkspaceFolderBasename}", | |||
"settings": { | |||
"remote.autoForwardPorts": false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app
is behind ingress now, so it should not forward port to host
@@ -5,7 +5,7 @@ | |||
"author": "Thanik Bhongbhibhat <email@thanik.me>", | |||
"license": "MIT", | |||
"scripts": { | |||
"start": "parcel serve './src/index.html' --port 8000 --lazy", | |||
"start": "parcel serve './src/index.html' --port 8000 --lazy --https", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https
mainly because I want parcel
to serve hot reload via wss
instead of ws
so ingress-envoy
proxies the upgrade request properly
return ( | ||
<iframe | ||
allow="clipboard-write" | ||
className="Main" | ||
frameBorder="0" | ||
sandbox="" | ||
sandbox="allow-scripts" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need this so the documents from the proxied services can execute javascript (render React)
@@ -5,7 +5,7 @@ | |||
"author": "Thanik Bhongbhibhat <email@thanik.me>", | |||
"license": "MIT", | |||
"scripts": { | |||
"start": "parcel serve './src/index.html' --port 8000 --lazy" | |||
"start": "parcel serve './src/index.html' --public-url \"/service/profile\" --port 8000 --lazy" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hack by hardcoding the proxied path for now. Profile shouldn't know this but I have to figure out static path routing in HTML in reverse proxy setup better.
No description provided.