-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from devsapp/dumi
Bump docusarurus and dumi version
- Loading branch information
Showing
6 changed files
with
106 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# nginx -c /code/nginx.conf -g 'daemon off;' | ||
|
||
events { worker_connections 1024; } | ||
http { | ||
server { | ||
error_log /dev/stderr; | ||
access_log /dev/stdout; | ||
|
||
gzip on; | ||
gzip_min_length 1k; | ||
gzip_comp_level 2; | ||
gzip_types text/html text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png image/svg+xml; | ||
gzip_vary on; | ||
gzip_disable "MSIE [1-6]\."; | ||
include /etc/nginx/mime.types; | ||
add_header Access-Control-Allow-Origin *; | ||
|
||
listen 9000; | ||
|
||
location / { | ||
root /code; | ||
index index.html; | ||
add_header Cache-Control "max-age=0"; | ||
try_files $uri $uri/ /index.html =404; | ||
} | ||
|
||
location ~ ^/.(images|javascript|js|css|flash|media|static)/ { | ||
root /code; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# nginx -c /code/nginx.conf -g 'daemon off;' | ||
|
||
events { worker_connections 1024; } | ||
http { | ||
server { | ||
error_log /dev/stderr; | ||
access_log /dev/stdout; | ||
|
||
gzip on; | ||
gzip_min_length 1k; | ||
gzip_comp_level 2; | ||
gzip_types text/html text/plain application/javascript application/x-javascript text/css application/xml text/javascript application/x-httpd-php image/jpeg image/gif image/png image/svg+xml; | ||
gzip_vary on; | ||
gzip_disable "MSIE [1-6]\."; | ||
include /etc/nginx/mime.types; | ||
add_header Access-Control-Allow-Origin *; | ||
|
||
listen 9000; | ||
|
||
location / { | ||
root /code; | ||
index index.html; | ||
add_header Cache-Control "max-age=0"; | ||
try_files $uri $uri/ /index.html =404; | ||
} | ||
|
||
location ~ ^/.(images|javascript|js|css|flash|media|static)/ { | ||
root /code; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters