Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
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
jeff
pleroma
Commits
800d2336
Verified
Commit
800d2336
authored
6 years ago
by
shibayashi
Browse files
Options
Downloads
Patches
Plain Diff
Use example.tld so a single search and replace works
parent
941f9a88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
installation/caddyfile-pleroma.example
+2
-2
2 additions, 2 deletions
installation/caddyfile-pleroma.example
installation/pleroma-apache.conf
+2
-2
2 additions, 2 deletions
installation/pleroma-apache.conf
installation/pleroma.nginx
+6
-6
6 additions, 6 deletions
installation/pleroma.nginx
with
10 additions
and
10 deletions
installation/caddyfile-pleroma.example
+
2
−
2
View file @
800d2336
# default Caddyfile config for Pleroma
#
# Simple installation instructions:
# 1. Replace '
pleroma.
example.tld' with your instance's domain wherever it appears.
# 1. Replace 'example.tld' with your instance's domain wherever it appears.
# 2. Copy this section into your Caddyfile and restart Caddy.
pleroma.
example.tld {
example.tld {
log /var/log/caddy/pleroma_access.log
errors /var/log/caddy/pleroma_error.log
...
...
This diff is collapsed.
Click to expand it.
installation/pleroma-apache.conf
+
2
−
2
View file @
800d2336
...
...
@@ -4,12 +4,12 @@
#
# Simple installation instructions:
# 1. Install your TLS certificate, possibly using Let's Encrypt.
# 2. Replace '
pleroma.
example.tld' with your instance's domain wherever it appears.
# 2. Replace 'example.tld' with your instance's domain wherever it appears.
# 3. This assumes a Debian style Apache config. Copy this file to
# /etc/apache2/sites-available/ and then add a symlink to it in
# /etc/apache2/sites-enabled/ by running 'a2ensite pleroma-apache.conf', then restart Apache.
Define
servername
pleroma
.
example
.
tld
Define
servername
example
.
tld
ServerName
${
servername
}
ServerTokens
Prod
...
...
This diff is collapsed.
Click to expand it.
installation/pleroma.nginx
+
6
−
6
View file @
800d2336
...
...
@@ -2,7 +2,7 @@
#
# Simple installation instructions:
# 1. Install your TLS certificate, possibly using Let's Encrypt.
# 2. Replace '
pleroma.
example.tld' with your instance's domain wherever it appears.
# 2. Replace 'example.tld' with your instance's domain wherever it appears.
# 3. Copy this file to /etc/nginx/sites-available/ and then add a symlink to it
# in /etc/nginx/sites-enabled/ and run 'nginx -s reload' or restart nginx.
...
...
@@ -10,7 +10,7 @@ proxy_cache_path /tmp/pleroma-media-cache levels=1:2 keys_zone=pleroma_media_cac
inactive=720m use_temp_path=off;
server {
server_name
pleroma.
example.tld;
server_name example.tld;
listen 80;
return 301 https://$server_name$request_uri;
...
...
@@ -31,9 +31,9 @@ server {
listen 443 ssl http2;
ssl_session_timeout 5m;
ssl_trusted_certificate /etc/letsencrypt/live/
$server_name
/fullchain.pem;
ssl_certificate /etc/letsencrypt/live/
$server_name
/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/
$server_name
/privkey.pem;
ssl_trusted_certificate /etc/letsencrypt/live/
example.tld
/fullchain.pem;
ssl_certificate /etc/letsencrypt/live/
example.tld
/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/
example.tld
/privkey.pem;
# Add TLSv1.0 to support older devices
ssl_protocols TLSv1.2;
...
...
@@ -47,7 +47,7 @@ server {
ssl_stapling on;
ssl_stapling_verify on;
server_name
pleroma.
example.tld;
server_name example.tld;
gzip_vary on;
gzip_proxied any;
...
...
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