Code Review
/
clamp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix frontend docker
[clamp.git]
/
src
/
main
/
docker
/
frontend
/
nginx
/
nginx.conf
diff --git
a/ui-react/nginx/nginx.conf
b/src/main/docker/frontend/nginx/nginx.conf
similarity index 52%
rename from
ui-react/nginx/nginx.conf
rename to
src/main/docker/frontend/nginx/nginx.conf
index
758a646
..
5bcac5c
100644
(file)
--- a/
ui-react/nginx/nginx.conf
+++ b/
src/main/docker/frontend/nginx/nginx.conf
@@
-1,7
+1,13
@@
server {
server {
- listen 80;
-
+ listen 443 default ssl;
+ ssl_protocols TLSv1.2;
+ ssl_certificate /etc/ssl/clamp.pem;
+ ssl_certificate_key /etc/ssl/clamp.key;
+ location /restservices/clds/ {
+ proxy_pass https://clamp-backend:8443;
+ }
+
location / {
root /usr/share/nginx/html;
index index.html index.htm;
location / {
root /usr/share/nginx/html;
index index.html index.htm;