Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
photo21
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BDE
photo21
Merge requests
!23
Moderation tools
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Moderation tools
moderation_tools
into
master
Overview
0
Commits
15
Pipelines
11
Changes
11
Merged
me5na7qbjqbrp
requested to merge
moderation_tools
into
master
3 years ago
Overview
0
Commits
15
Pipelines
11
Changes
11
Expand
👍
0
👎
0
Merge request reports
Compare
master
version 10
95243c4d
2 years ago
version 9
167c9cb4
3 years ago
version 8
a719203e
3 years ago
version 7
df7f4642
3 years ago
version 6
13f5111d
3 years ago
version 5
648cae81
3 years ago
version 4
b7a78cea
3 years ago
version 3
e94436c7
3 years ago
version 2
3a24fbdc
3 years ago
version 1
3c8e34db
3 years ago
master (base)
and
latest version
latest version
8855a400
15 commits,
2 years ago
version 10
95243c4d
14 commits,
2 years ago
version 9
167c9cb4
12 commits,
3 years ago
version 8
a719203e
11 commits,
3 years ago
version 7
df7f4642
10 commits,
3 years ago
version 6
13f5111d
9 commits,
3 years ago
version 5
648cae81
8 commits,
3 years ago
version 4
b7a78cea
7 commits,
3 years ago
version 3
e94436c7
6 commits,
3 years ago
version 2
3a24fbdc
5 commits,
3 years ago
version 1
3c8e34db
4 commits,
3 years ago
11 files
+
97
−
106
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
11
Search (e.g. *.vue) (Ctrl+P)
docs/nginx_photos
+
9
−
1
Options
@@ -37,13 +37,17 @@ server {
# Allow 2Go upload at once
client_max_body_size 2G;
add_header "X-XSS-Protection" "1; mode=block";
add_header "Content-Security-Policy" "default-src 'self' 'unsafe-inline';";
# Django statics and media
# Do not directly serve media, it must be authorized
# by a Django view to check permissions
location /protected/media
{
location /protected/media {
internal;
alias /var/www/photos/photo21/media;
}
location /static {
alias /var/www/photos/photo21/static;
}
@@ -51,5 +55,9 @@ server {
location / {
uwsgi_pass unix:///var/run/uwsgi/app/uwsgi_photos/socket;
include /etc/nginx/uwsgi_params;
proxy_connect_timeout 600;
proxy_send_timeout 600;
proxy_read_timeout 600;
send_timeout 600;
}
}
Loading