Skip to content
Snippets Groups Projects
Commit ba792b45 authored by Reinder Kraaij's avatar Reinder Kraaij :eye:
Browse files

Update Server config

parent 813cc272
No related branches found
No related tags found
1 merge request!1225Resolve TMSS-2294 "Part iv"
...@@ -10,7 +10,7 @@ server { ...@@ -10,7 +10,7 @@ server {
listen 8008; listen 8008;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always; add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload" always;
add_header Content-Security-Policy "default-src 'self' data: https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://stackpath.bootstrapcdn.com https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://stackpath.bootstrapcdn.com https://fonts.gstatic.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; connect-src 'self' ws://localhost:5678 ws://tmss.lofar.eu:5678"; add_header Content-Security-Policy "default-src 'self' data: https://cdnjs.cloudflare.com; style-src 'self' 'unsafe-inline' https://stackpath.bootstrapcdn.com https://fonts.googleapis.com https://cdnjs.cloudflare.com; font-src 'self' data: https://stackpath.bootstrapcdn.com https://fonts.gstatic.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://cdnjs.cloudflare.com; connect-src 'self' ws://localhost:5678 ws://tmss.lofar.eu:5678; img-src 'self' https://tile.openstreetmap.org";
add_header Referrer-Policy 'strict-origin'; add_header Referrer-Policy 'strict-origin';
location / { location / {
......
...@@ -8,10 +8,7 @@ ...@@ -8,10 +8,7 @@
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<title>TMSS</title> <title>TMSS</title>
<meta http-equiv="Content-Security-Policy" content="default-src *; </head>
img-src * 'self' data: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' *;
style-src 'self' 'unsafe-inline' *" />
</head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div> <div id="root"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment