Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
TeDomum
Documentation
Commits
e2b0ff89
Commit
e2b0ff89
authored
Apr 10, 2020
by
kaiyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename mutu to sftp and remove nginx
parent
1afee550
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
35 deletions
+22
-35
apps/mutu/nginx.conf
apps/mutu/nginx.conf
+0
-35
apps/sftp/.gitignore
apps/sftp/.gitignore
+0
-0
apps/sftp/docker-compose.yml
apps/sftp/docker-compose.yml
+22
-0
No files found.
apps/mutu/nginx.conf
deleted
100644 → 0
View file @
1afee550
user
nginx
;
worker_processes
1
;
error_log
/var/log/nginx/error.log
warn
;
pid
/var/run/nginx.pid
;
events
{
worker_connections
1024
;
}
http
{
include
/etc/nginx/mime.types
;
default_type
application/octet-stream
;
log_format
main
'
$remote_addr
-
$remote_user
[
$time_local
]
$http_host
"
$request
"
'
'
$status
$body_bytes_sent
"
$http_referer
"
'
'"
$http_user_agent
"
"
$http_x_forwarded_for
"'
;
sendfile
on
;
server_tokens
off
;
keepalive_timeout
65
;
gzip
on
;
gzip_types
text/plain
application/javascript
application/x-javascript
text/javascript
text/xml
text/css
text/html
application/json
application/vnd
.ms-fontobject
application/x-font-ttf
font/opentype
image/svg
+xml
image/x-icon
;
server
{
listen
80
default_server
;
server_name
_
;
root
/var/www/
$http_host
/www/
;
if
(
$time_iso8601
~
"^(?<year>\d
{
4
}
)-(?<month>
\
d
{
2
}
)-(?<day>
\
d
{
2
}
)")
{}
access_log
/var/www/
$http_host
/logs/
$year-$month-$day-access
.log
;
}
}
apps/sftp/.gitignore
0 → 100644
View file @
e2b0ff89
apps/
mutu
/docker-compose.yml
→
apps/
sftp
/docker-compose.yml
View file @
e2b0ff89
version
:
'
2.1'
services
:
nginx
:
image
:
nginx:latest
labels
:
-
traefik.enable=true
-
traefik.frontend.rule=Host:${hostnames}
-
traefik.frontend.headers.STSSeconds=315360000
-
traefik.frontend.headers.browserXSSFilter=true
-
traefik.frontend.headers.customResponseHeaders=Server:www||X-Powered-By:www
volumes
:
-
./nginx.conf:/etc/nginx/nginx.conf
-
./data:/var/www
ssh
:
image
:
atmoz/sftp:latest
ports
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment