nginx reverse proxy

This commit is contained in:
2023-08-12 11:14:45 +02:00
parent 9fb5ea0e0d
commit 51169bb96b
5 changed files with 8 additions and 0 deletions

Binary file not shown.

View File

@@ -19,3 +19,5 @@ def includeme(config):
config.add_route('histo_list', '/histo_list') config.add_route('histo_list', '/histo_list')
config.add_route('histo_edit', '/histo_edit/{no_id}') config.add_route('histo_edit', '/histo_edit/{no_id}')
config.add_route('portfolio', '/portfolio') config.add_route('portfolio', '/portfolio')
# personal
config.add_route('portal', '/portal')

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -149,3 +149,9 @@ def user_edit(request):
'name': name, 'name': name,
} }
@view_config(route_name='portal', renderer='../templates/portal.jinja2')
def portal(request):
return {
'page_title': "A propos",
}