Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Keel - LDH Middleware
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
26
Issues
26
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
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
liberty
host
Keel - LDH Middleware
Commits
3305c960
Commit
3305c960
authored
Jun 29, 2017
by
David Seaward
Committed by
Gogs
Jun 29, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of david.seaward/account_web into master
parents
644efd05
6fd52c0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
conf/nginx/purist_account
conf/nginx/purist_account
+19
-3
ldapregister/jinja2/ldapregister/home.html
ldapregister/jinja2/ldapregister/home.html
+2
-2
No files found.
conf/nginx/purist_account
View file @
3305c960
# stored as /etc/nginx/sites-available/purist_account
# and symlink /etc/nginx/sites-enabled/purist_account
# naive redirect of HTTP to HTTPS
# deep links are ignored
server {
server_name example.com; # TODO: change domain
listen *:80;
listen [::]:80;
return 301 https://example.com; # TODO: change domain
}
# the upstream component nginx needs to connect to
upstream django {
server unix:/var/opt/purist/account/uwsgi.sock; # for a file socket
...
...
@@ -8,11 +19,16 @@ upstream django {
# the main server block
server {
listen 80 default_server;
listen [::]:80 default_server;
server_name example.com; # TODO: change domain
# SSL configuration
listen 443 ssl;
listen [::]:443 ssl;
ssl_certificate /path/to/fullchain.pem; # TODO: update path
ssl_certificate_key /path/to/privkey.pem; # TODO: update path
server_name example.com; # change this
charset utf-8;
# error_log /var/log/nginx/error.log debug; # optional
location /static/ {
alias /var/opt/purist/account/static/;
...
...
ldapregister/jinja2/ldapregister/home.html
View file @
3305c960
...
...
@@ -21,13 +21,13 @@
{% endif %}
</p>
<h1><img
style=
"max-height:
40vh; max-width: 4
0vw"
src=
"{% static 'logo.png' %}"
alt=
"{{ site_title }}"
/></h1>
<h1><img
style=
"max-height:
50vh; max-width: 5
0vw"
src=
"{% static 'logo.png' %}"
alt=
"{{ site_title }}"
/></h1>
<p>
{{ site_byline }}
</p>
<p>
<a
href=
"https://plan.puri.st"
>
plan
</a>
|
<a
href=
"https://code.puri.sm/purist"
>
code
</a>
|
<a
href=
"http://dev.comms.puri.st"
>
test
</a>
|
<a
href=
"/admin/"
>
admin
</a>
<a
href=
"http
s
://dev.comms.puri.st"
>
test
</a>
|
<a
href=
"/admin/"
>
admin
</a>
</p>
<p
style=
"font-size: small"
>
...
...
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