correct comments

try to fix backend proxy in nginx
missing change for /vue remove
This commit is contained in:
Ulf Gebhardt 2022-01-05 21:19:35 +01:00
parent 644c55b573
commit 4b099d7e58
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
3 changed files with 6 additions and 5 deletions

View File

@ -35,7 +35,8 @@ server {
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_pass http://127.0.0.1:4000; #todo remove /graphql
proxy_pass http://127.0.0.1:4000/graphql;
proxy_redirect off; proxy_redirect off;
} }

View File

@ -1,6 +1,6 @@
# Setup script to setup the server be ready to run gradido # Setup script to setup the server be ready to run gradido
# This assums you have root access via ssh to your cleanly setup server # This assums you have root access via ssh to your cleanly setup server
# Furthermore this assums you have debian (11 64bit) running # Furthermore this assumes you have debian (11 64bit) running
> ssh root@gddhost.tld > ssh root@gddhost.tld
@ -57,7 +57,7 @@
> sudo apt-get upgrade > sudo apt-get upgrade
# Install security tools # Install security tools
## UFW ## ufw
> sudo apt-get install ufw > sudo apt-get install ufw
> sudo ufw allow http > sudo ufw allow http
> sudo ufw allow https > sudo ufw allow https

View File

@ -124,13 +124,13 @@ describe('Vuex store', () => {
name: 'test12', name: 'test12',
description: 'test community 12', description: 'test community 12',
url: 'http://test12.test12/', url: 'http://test12.test12/',
registerUrl: 'http://test12.test12/vue/register', registerUrl: 'http://test12.test12/register',
}) })
expect(state.community).toEqual({ expect(state.community).toEqual({
name: 'test12', name: 'test12',
description: 'test community 12', description: 'test community 12',
url: 'http://test12.test12/', url: 'http://test12.test12/',
registerUrl: 'http://test12.test12/vue/register', registerUrl: 'http://test12.test12/register',
}) })
}) })
}) })