wip
This commit is contained in:
parent
aa96d79e47
commit
1bc33ab912
28 changed files with 94 additions and 18 deletions
|
|
@ -3,7 +3,7 @@ server {
|
|||
charset UTF-8;
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
|
||||
resolver $NGINX_RESOLVERS;
|
||||
server_name $NGINX_DOMAIN;
|
||||
|
||||
if ($host = $NGINX_DOMAIN) {
|
||||
|
|
@ -17,6 +17,7 @@ server {
|
|||
listen [::]:443 ssl;
|
||||
listen 443 ssl;
|
||||
server_name $NGINX_DOMAIN;
|
||||
resolver $NGINX_RESOLVERS;
|
||||
|
||||
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
|
||||
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
|
||||
|
|
|
|||
4
nginx/conf/locations/icons.conf
Normal file
4
nginx/conf/locations/icons.conf
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
location /api/icons {
|
||||
rewrite ^/api/icons/(.*) /$1 break;
|
||||
proxy_pass http://icons-service/$uri$is_args$args;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue