Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
1cda514d
Commit
1cda514d
authored
Oct 24, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
peertube: fixup
parent
065669f2
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
273 deletions
+9
-273
software/peertube/buildout.hash.cfg
software/peertube/buildout.hash.cfg
+0
-4
software/peertube/software.cfg
software/peertube/software.cfg
+0
-5
software/peertube/template-nginx.cfg.in
software/peertube/template-nginx.cfg.in
+5
-5
software/peertube/template-peertube-default.yaml.in
software/peertube/template-peertube-default.yaml.in
+3
-3
software/peertube/template-peertube-nginx-available.in
software/peertube/template-peertube-nginx-available.in
+0
-255
software/peertube/template-peertube-production.yaml.in
software/peertube/template-peertube-production.yaml.in
+1
-1
No files found.
software/peertube/buildout.hash.cfg
View file @
1cda514d
...
@@ -28,10 +28,6 @@ filename = template-peertube-service.sh.in
...
@@ -28,10 +28,6 @@ filename = template-peertube-service.sh.in
filename = template-peertube-production.yaml.in
filename = template-peertube-production.yaml.in
# md5sum = 458870b70c33a1621b68961ae2372ad5
# md5sum = 458870b70c33a1621b68961ae2372ad5
# [template-peertube-nginx-available]
# filename = template-peertube-nginx-available.in
# # md5sum = 458870b70c33a1621b68961ae2372ad5
[template-peertube-default]
[template-peertube-default]
filename = template-peertube-default.yaml.in
filename = template-peertube-default.yaml.in
# md5sum = 458870b70c33a1621b68961ae2372ad5
# md5sum = 458870b70c33a1621b68961ae2372ad5
...
...
software/peertube/software.cfg
View file @
1cda514d
...
@@ -99,11 +99,6 @@ recipe = slapos.recipe.template
...
@@ -99,11 +99,6 @@ recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/${:filename}
output = ${buildout:directory}/${:filename}
# [template-peertube-nginx-available]
# recipe = slapos.recipe.template
# url = ${:_profile_base_location_}/${:filename}
# output = ${buildout:directory}/${:filename}
[template-nginx-service]
[template-nginx-service]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
url = ${:_profile_base_location_}/${:filename}
...
...
software/peertube/template-nginx.cfg.in
View file @
1cda514d
...
@@ -92,7 +92,7 @@ server {
...
@@ -92,7 +92,7 @@ server {
location @api {
location @api {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host
$host
;
proxy_set_header Host
'[$${nginx-configuration:ip}]:$${nginx-configuration:port}'
;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
client_max_body_size 100k; # default is 1M
client_max_body_size 100k; # default is 1M
...
@@ -105,9 +105,9 @@ server {
...
@@ -105,9 +105,9 @@ server {
proxy_pass http://backend;
proxy_pass http://backend;
}
}
#
location / {
location / {
#
try_files /dev/null @api;
try_files /dev/null @api;
#
}
}
location = /api/v1/videos/upload-resumable {
location = /api/v1/videos/upload-resumable {
client_max_body_size 0;
client_max_body_size 0;
...
@@ -208,7 +208,7 @@ server {
...
@@ -208,7 +208,7 @@ server {
root $${directory:peertube_directory}/;
root $${directory:peertube_directory}/;
try_files
/storage/client-overrides/$1 /peertube-latest
/client/dist/$1 @api;
try_files
$${directory:storage}/client-overrides/$1 $${directory:peertube_directory}
/client/dist/$1 @api;
}
}
# Bypass PeerTube for performance reasons. Optional.
# Bypass PeerTube for performance reasons. Optional.
...
...
software/peertube/template-peertube-default.yaml.in
View file @
1cda514d
...
@@ -6,9 +6,9 @@ listen:
...
@@ -6,9 +6,9 @@ listen:
# Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL)
# Correspond to your reverse proxy server_name/listen configuration (i.e., your public PeerTube instance URL)
webserver:
webserver:
https:
fals
e
https:
tru
e
hostname: '
localhost
'
hostname: '
[$${nginx-configuration:ip}]
'
port:
9000
port:
$${nginx-configuration:port}
# Secrets you need to generate the first time you run PeerTube
# Secrets you need to generate the first time you run PeerTube
secrets:
secrets:
...
...
software/peertube/template-peertube-nginx-available.in
deleted
100644 → 0
View file @
065669f2
This diff is collapsed.
Click to expand it.
software/peertube/template-peertube-production.yaml.in
View file @
1cda514d
...
@@ -174,7 +174,7 @@ object_storage:
...
@@ -174,7 +174,7 @@ object_storage:
base_url: ''
base_url: ''
log:
log:
level: '
info
' # 'debug' | 'info' | 'warn' | 'error'
level: '
debug
' # 'debug' | 'info' | 'warn' | 'error'
rotation:
rotation:
enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate
enabled : true # Enabled by default, if disabled make sure that 'storage.logs' is pointing to a folder handled by logrotate
...
...
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