File tree 2 files changed +37
-0
lines changed
2 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ services :
2
+ astrowind :
3
+ image : .
4
+ container_name : astrowind
5
+ ports :
6
+ - 8080:8080
Original file line number Diff line number Diff line change
1
+ worker_processes 1 ;
2
+
3
+ events {
4
+ worker_connections 1024 ;
5
+ }
6
+
7
+ http {
8
+ server {
9
+ listen 8080 ;
10
+ server_name _;
11
+
12
+ root /usr/share/nginx/html;
13
+ index index.html index.htm;
14
+ include /etc/nginx/mime.types;
15
+
16
+ gzip on ;
17
+ gzip_min_length 1000 ;
18
+ gzip_proxied expired no-cache no-store private auth;
19
+ gzip_types text/plain text/css application/json application/javascript application/x-javascript text/xml application/xml application/xml+rss text/javascript;
20
+
21
+ error_page 404 /404.html;
22
+ location = /404.html {
23
+ root /usr/share/nginx/html;
24
+ internal ;
25
+ }
26
+
27
+ location / {
28
+ try_files $uri $uri /index.html =404 ;
29
+ }
30
+ }
31
+ }
You can’t perform that action at this time.
0 commit comments