Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Context Sensitive Group
freedombone
Commits
4209245e
Commit
4209245e
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Fix web install
parent
b0b33150
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-app-peertube
+3
-3
3 additions, 3 deletions
src/freedombone-app-peertube
with
3 additions
and
3 deletions
src/freedombone-app-peertube
+
3
−
3
View file @
4209245e
...
...
@@ -316,7 +316,7 @@ function peertube_setup_web {
function_check nginx_disable_sniffing
nginx_disable_sniffing
$PEERTUBE_DOMAIN_NAME
echo
' add_header Strict-Transport-Security max-age=15768000;'
>>
$peertube_nginx_
sit
e
echo
' add_header Strict-Transport-Security max-age=15768000;'
>>
$peertube_nginx_
fil
e
echo
''
>>
$peertube_nginx_file
echo
' location / {'
>>
$peertube_nginx_file
echo
" proxy_pass http://localhost:
${
PEERTUBE_PORT
}
;"
>>
$peertube_nginx_file
...
...
@@ -366,7 +366,7 @@ function peertube_setup_web {
fi
echo
'server {'
>>
$peertube_nginx_file
echo
" listen 127.0.0.1:
$PEERTUBE_ONION_PORT
default_server;"
>>
$peertube_nginx_file
echo
" server_name
$PEERTUBE_ONION_HOSTNAME
;"
>>
$eertube_nginx_file
echo
" server_name
$PEERTUBE_ONION_HOSTNAME
;"
>>
$
p
eertube_nginx_file
echo
''
>>
$peertube_nginx_file
echo
' location / {'
>>
$peertube_nginx_file
echo
" proxy_pass http://localhost:
${
PEERTUBE_PORT
}
;"
>>
$peertube_nginx_file
...
...
@@ -462,7 +462,7 @@ function peertube_create_config {
echo
''
>>
$peertube_config_file
echo
'signup:'
>>
$peertube_config_file
echo
' enabled: false'
>>
$peertube_config_file
echo
;
limit: 10
# When the limit is reached, registrations are disabled. -1 == unlimited' >> $peertube_config_file
echo
'
; limit: 10 # When the limit is reached, registrations are disabled. -1 == unlimited'
>>
$peertube_config_file
echo
''
>>
$peertube_config_file
echo
'user:'
>>
$peertube_config_file
echo
' # Default value of maximum video BYTES the user can upload (does not take into account transcoded files).'
>>
$peertube_config_file
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment