Skip to content

Commit

Permalink
#222 Revert "[211] add a test to check the configuration file"
Browse files Browse the repository at this point in the history
This reverts commit 5ba7230.
  • Loading branch information
Cleydyr Albuquerque committed May 31, 2020
1 parent a4e87cd commit ec1d4be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 20 deletions.
7 changes: 5 additions & 2 deletions nginx/conf.d/biblivre.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
upstream tomcat {
server app:8080;
}

proxy_cache_path /var/cache/nginx/ levels=1:2 keys_zone=my_cache:10m max_size=10g inactive=60m use_temp_path=off;

server {
Expand All @@ -23,9 +27,8 @@ server {
server_name biblivre;
listen 80;
location / {
set $foobar http://app:8080/Biblivre6/;
proxy_cache my_cache;
proxy_pass $foobar;
proxy_pass http://tomcat/Biblivre6/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
Expand Down
18 changes: 0 additions & 18 deletions scripts/check_nginx.sh

This file was deleted.

0 comments on commit ec1d4be

Please sign in to comment.