Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ansible
Manage
Activity
Members
Labels
Plan
Issues
13
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
funkwhale
ansible
Commits
e3ad735f
Verified
Commit
e3ad735f
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Minor fixes
parent
5a9e8dda
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+10
-0
10 additions, 0 deletions
README.md
templates/nginx.conf.j2
+2
-2
2 additions, 2 deletions
templates/nginx.conf.j2
with
12 additions
and
2 deletions
README.md
+
10
−
0
View file @
e3ad735f
...
...
@@ -32,6 +32,7 @@ Create a playbook requirements and inventory file:
touch requirements.yml
touch playbook.yml
touch inventory.ini
ansible.cfg
Add the following to
`requirements.yml`
:
...
...
@@ -47,6 +48,15 @@ Install the role:
ansible-galaxy install -r requirements.yml
```
Add the following to
`ansible.cfg`
:
```
[defaults]
# Needed to use become with unprevileged users,
# see https://docs.ansible.com/ansible/latest/user_guide/become.html#becoming-an-unprivileged-user
allow_world_readable_tmpfiles=true
```
Add the following to
`playbook.yml`
:
```
yaml
...
...
This diff is collapsed.
Click to expand it.
templates/nginx.conf.j2
+
2
−
2
View file @
e3ad735f
...
...
@@ -23,8 +23,8 @@ server {
ssl_certificate {{ funkwhale_ssl_cert_path }};
ssl_certificate_key {{ funkwhale_ssl_key_path }};
{% else -%}
ssl_certificate /e
c
t/le
c
tsencrypt/live/{{ funkwhale_hostname }}/fullchain.pem;
ssl_certificate_key /e
c
t/le
c
tsencrypt/live/{{ funkwhale_hostname }}/privkey.pem;
ssl_certificate /et
c
/letsencrypt/live/{{ funkwhale_hostname }}/fullchain.pem;
ssl_certificate_key /et
c
/letsencrypt/live/{{ funkwhale_hostname }}/privkey.pem;
{% endif -%}
# from https://cipherli.st/
ssl_prefer_server_ciphers on;
...
...
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