File tree Expand file tree Collapse file tree 2 files changed +10
-17
lines changed 
container/root/tests/nginx Expand file tree Collapse file tree 2 files changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -11,24 +11,14 @@ group:
1111command :
1212  nginx -v :
1313    exit-status : 0 
14-     stderr : [] 
14+     stderr : ['nginx/1.'] 
15+     stdout : ['!/./'] 
1516  nginx -t :
1617    exit-status : 0 
17-     stderr : [] 
18+     stderr : ['is ok'] 
19+     stdout : ['!/./'] 
1820
1921file :
20-   /etc/nginx/sites-available/default :
21-     exists : true 
22-     contains :
23-       - listen 8080; 
24-       - root /var/www/html; 
25-       - index index.html index.htm; 
26-       - client_max_body_size 1m; 
27-       - try_files $uri $uri/ =404; 
28-       - location ~ /\. { 
29-       - access_log off; 
30-       - log_not_found off; 
31-       - deny all; 
3222  /etc/nginx/nginx.conf :
3323    exists : true 
3424    contains :
5141      - ' /#{0}tcp_nodelay\s*on;/' 
5242      - ' /#{0}tcp_nopush\s*on;/' 
5343      - ' /#{0}include\s*mime.types;/' 
54-       - ' /#{0}default_type   application/octet-stream;/' 
55-       - ' /#{0}access_log  /dev/stdout  main;/' 
44+       - ' /#{0}default_type\s* application/octet-stream;/' 
45+       - ' /#{0}access_log\s* /dev/stdout\s* main;/' 
5646      - ' /#{0}sendfile\s*on;/' 
5747      - ' /#{0}keepalive_timeout\s*\d+;/' 
5848      - ' /#{0}client_body_temp_path\s*/tmp/.nginx/client_body;/' 
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ ubuntu:
1212    SERVER_LARGE_CLIENT_HEADER_BUFFERS : 8 16k 
1313    SERVER_CLIENT_BODY_BUFFER_SIZE : 128k 
1414  volumes :
15-    - ./container/root/goss. nginx. yaml:/goss. nginx.yaml 
15+    - ./container/root/tests/ nginx/base.goss. yaml:/tests/ nginx/base.goss .yaml 
1616   - ./container/root/var/www/html:/var/www/html 
1717alpine :
1818  build : . 
@@ -25,3 +25,6 @@ alpine:
2525    S6_KILL_FINISH_MAXTIME : 1 
2626    S6_KILL_GRACETIME : 1 
2727    SERVER_WORKER_PROCESSES : 1 
28+   volumes :
29+    - ./container/root/tests/nginx/base.goss.yaml:/tests/nginx/base.goss.yaml 
30+    - ./container/root/var/www/html:/var/www/html 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments