Commit 47275893 authored by Boxiang Sun's avatar Boxiang Sun

peertube: remove default.yaml

parent 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-default]
filename = template-peertube-default.yaml.in
# md5sum = 458870b70c33a1621b68961ae2372ad5
[template-nginx-configuration] [template-nginx-configuration]
filename = template-nginx.cfg.in filename = template-nginx.cfg.in
# md5sum = 6b11e79bcc7734d8629e1b6e6cb497e1 # md5sum = 6b11e79bcc7734d8629e1b6e6cb497e1
...@@ -8,7 +8,6 @@ parts = ...@@ -8,7 +8,6 @@ parts =
postgresql postgresql
nginx-service nginx-service
nginx-listen-promise nginx-listen-promise
peertube-default-yaml
peertube-production-yaml peertube-production-yaml
peertube-service peertube-service
...@@ -34,15 +33,10 @@ storage = $${:peertube_directory}/storage ...@@ -34,15 +33,10 @@ storage = $${:peertube_directory}/storage
versions = $${:peertube_directory}/versions versions = $${:peertube_directory}/versions
ssl = $${:etc}/ssl ssl = $${:etc}/ssl
[peertube-default-yaml]
recipe = slapos.recipe.template
url = ${template-peertube-default:output}
output = $${directory:config}/default.yaml
[peertube-production-yaml] [peertube-production-yaml]
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${template-peertube-production:output} url = ${template-peertube-production:output}
output = $${directory:config}/production.yaml output = $${directory:config}/peertube.yaml
[peertube-service] [peertube-service]
recipe = slapos.recipe.template recipe = slapos.recipe.template
......
...@@ -94,11 +94,6 @@ recipe = slapos.recipe.template ...@@ -94,11 +94,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-default]
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}
......
...@@ -70,10 +70,10 @@ server { ...@@ -70,10 +70,10 @@ server {
root /var/www/certbot; root /var/www/certbot;
} }
# ## ##
# # Security hardening (as of Nov 15, 2020) # Security hardening (as of Nov 15, 2020)
# # based on Mozilla Guideline v5.6 # based on Mozilla Guideline v5.6
# ## ##
# ssl_protocols TLSv1.2 TLSv1.3; # ssl_protocols TLSv1.2 TLSv1.3;
# ssl_prefer_server_ciphers on; # ssl_prefer_server_ciphers on;
...@@ -83,8 +83,8 @@ server { ...@@ -83,8 +83,8 @@ server {
# ssl_session_tickets off; # ssl_session_tickets off;
# ssl_stapling on; # ssl_stapling on;
# ssl_stapling_verify on; # ssl_stapling_verify on;
# # HSTS (https://hstspreload.org), requires to be copied in 'location' sections that have add_header directives # HSTS (https://hstspreload.org), requires to be copied in 'location' sections that have add_header directives
# #add_header Strict-Transport-Security "max-age=63072000; includeSubDomains"; #add_header Strict-Transport-Security "max-age=63072000; includeSubDomains";
## ##
# Application # Application
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment