Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
0059267d
Commit
0059267d
authored
Aug 31, 2017
by
Gabriel Detraz
Committed by
root
Aug 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix l'url dans le fichier de config
parent
66816d1c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
install_re2o.sh
install_re2o.sh
+3
-1
re2o/settings_local.example.py
re2o/settings_local.example.py
+1
-1
No files found.
install_re2o.sh
View file @
0059267d
...
...
@@ -272,6 +272,8 @@ is_tls=$(dialog --clear \
clear
sed
-i
's/URL_SERVER/'
"
$url_server
"
'/g'
re2o/settings_local.py
if
[
$web_serveur
==
1
]
then
...
...
@@ -283,7 +285,7 @@ cp install_utils/apache2/re2o-tls.conf /etc/apache2/sites-available/re2o.conf
apt-get
-y
install
certbot
apt-get
-y
install
python-certbot-apache
certbot certonly
--rsa-key-size
4096
--apache
-d
$url_server
sed
-i
's/LE_PATH/'
"
$url_server
"
'/g'
/etc/apache2/sites-available/re2o
-tls
.conf
sed
-i
's/LE_PATH/'
"
$url_server
"
'/g'
/etc/apache2/sites-available/re2o.conf
else
cp
install_utils/apache2/re2o.conf /etc/apache2/sites-available/re2o.conf
fi
...
...
re2o/settings_local.example.py
View file @
0059267d
...
...
@@ -32,7 +32,7 @@ ADMINS = [('Example', 'rezo-admin@example.org')]
SERVER_EMAIL
=
'no-reply@example.org'
# Obligatoire, liste des host autorisés
ALLOWED_HOSTS
=
[
'
test.example.org
'
]
ALLOWED_HOSTS
=
[
'
URL_SERVER
'
]
DATABASES
=
{
'default'
:
{
...
...
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