[Azure Portal] Dashboard → All resources → Create
[Azure Portal, Create a resource] Web App
[Azure Portal, Create a resource] Enter the settings below.
Wait for creation
[Browser] Go to the
WebSSH Host (May need to wait for a while for everything to be created.)
[WebSSH Host] cp /etc/nginx/sites-enabled/default /home/default
-
[File Manager] Make sure you are in the home
directory. The directory should contain the site
directory and the default
file.
[File Manager, Text Editor] Edit the default
file.
[File Manager, Text Editor] Add this before any other
location
section:
location ~ /(data|conf|bin|inc|vendor)/ {
deny all;
}
[File Manager, Text Editor] Save.
[Azure Portal] Go to Web App resource.
[Azure Portal, TallGuyRacing-Wiki] Configuration → General Settings → Startup Command:
cp /home/default /etc/nginx/sites-enabled/default; service nginx restart
[Azure Portal, TallGuyRacing-Wiki, Configuration] Save.
[Azure Portal, TallGuyRacing-Wiki, Overview] Restart.
[WebSSH Host] cat /etc/nginx/sites-enabled/default
Ensure the changes are there.
[Browser] Go to the
wiki home page. You should get “Your web app is running and waiting for your content”.
[File Manager] Go to /site/wwwroot
.
[File Manager] Delete everything in that directory.
-
-