keycloak-scim/nginx-default.conf
Nicola Beghin 6c4aa0b100
add Docker and docker-compose (#456)
* add Docker and docker-compose

* dockerize - build and expose through nginx

* update README.md for docker usage
2021-03-23 11:07:46 +01:00

39 lines
No EOL
780 B
Text

server {
listen 80;
listen [::]:80;
server_name localhost;
gzip on;
gzip_disable "msie6";
gzip_comp_level 6;
gzip_min_length 1100;
gzip_buffers 16 8k;
gzip_proxied any;
gzip_types
text/plain
text/css
text/js
text/xml
text/javascript
application/javascript
application/json
application/xml
application/rss+xml
image/svg+xml;
location /auth/ {
client_max_body_size 0;
proxy_pass http://localhost:8180/auth/;
}
location / {
root /usr/share/nginx/html;
index index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}