b7408fb4d8
- Created Gitea module with outputs, provider, and variables for deployment. - Implemented Mail module including configuration for Dovecot and Postfix, along with necessary resources such as secrets, config maps, and deployments. - Added Python script for bcrypt password hashing and integrated it into the Mail module. - Defined persistent volumes and claims for Seafile module, along with Nginx configuration for serving content. - Established necessary variables for all modules to ensure flexibility and configurability.
36 lines
596 B
Plaintext
36 lines
596 B
Plaintext
server {
|
|
listen 8080;
|
|
server_name localhost;
|
|
|
|
gzip on;
|
|
gzip_comp_level 9;
|
|
gzip_types
|
|
text/html
|
|
text/plain
|
|
text/css
|
|
text/js
|
|
text/xml
|
|
text/javascript
|
|
application/javascript
|
|
application/json
|
|
application/xml
|
|
application/rss+xml
|
|
image/svg+xml;
|
|
|
|
root /tmp/site;
|
|
|
|
location / {
|
|
index index.html index.htm;
|
|
}
|
|
|
|
location ~* ^/([^/]+) {
|
|
index index.html index.htm;
|
|
error_page 404 = @error;
|
|
}
|
|
|
|
error_page 404 /404.html;
|
|
location @error {
|
|
try_files /$1/404.html /404.html =404;
|
|
}
|
|
}
|