1,035
edits
No edit summary |
(→23-07-10: new section) |
||
Line 858: | Line 858: | ||
Thank you both for your outstanding contributions ❤️ 🙏 | Thank you both for your outstanding contributions ❤️ 🙏 | ||
|Link=https://discord.com/channels/1049136631065628772/1052452947352617010/1126968411138838628 | |Link=https://discord.com/channels/1049136631065628772/1052452947352617010/1126968411138838628 | ||
}} | |||
== 23-07-10 == | |||
{{Message | |||
|Author=mannaz | |||
|Avatar=https://cdn.discordapp.com/avatars/540104559079456770/12ce492294d6a3cd6f1ea00cbe8edb04.png?size=1024 | |||
|Date Sent=23-07-10 00:35:37 | |||
|Channel=techwg-ops | |||
|Text=[[Tech WG/Ops Diary#23-07-09]]: Updating reverse proxy config to the recommended one | |||
as root | |||
`cd /etc/nginx | |||
cd site-enabled | |||
vim mastodon` | |||
search for "system" | |||
added the following two headers in that block as per the release notes: | |||
`add_header X-Content-Type-Options nosniff; | |||
add_header Content-Security-Policy "default-src 'none'; form-action 'none'"; ` | |||
save | |||
test nginx configs are valid or not (w/o running) | |||
`nginx -t ` | |||
all looked good | |||
`nginx: the configuration file /etc/nginx/nginx.conf syntax is ok | |||
nginx: configuration file /etc/nginx/nginx.conf test is successful | |||
` | |||
Reload nginx | |||
|Link=https://discord.com/channels/1049136631065628772/1052452072806686751/1127760004980691054 | |||
}} | }} |