create_wiki_web_app
Table of Contents
Create Wiki Web App
Prep
- Follow the instructions in Restore Wiki Procedure to generate a
wiki.zip
file.
Procedure
- [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
- [Browser] Go to the File Manager.
- [File Manager] Make sure you are in the
home
directory. The directory should contain thesite
directory and thedefault
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.
- [File Manager] Upload the
wiki.zip
from the Restore Wiki Procedure. - Follow the additional setup & testing in Restore Wiki Procedure.
Settings
Details | |
---|---|
Subscription | 2f06a290-7493-4b82-bb45-3387c0b6b2ec |
Resource Group | TallGuyRacing-Wiki |
Name | TallGuyRacing-Wiki |
Publish | Code |
Runtime stack | PHP 8.2 |
App Service Plan | |
Name | TallGuyRacing-Wiki-Linux |
Operating System | Linux |
Region | Australia East |
SKU | Free |
ACU | Shared infrastructure |
create_wiki_web_app.txt · Last modified: 2023/12/17 15:51 by 127.0.0.1