การใช้งาน WordPress โดยการสร้าง docker-compose file ทำงานภายใต้ Reverse Poxy ร่วมกับ SSL นั้น สามารถติดตั้ง NGINX โดยการติดตั้งเป็น Package บนระบบปฏิบัติการ Ubuntu หรือจะติดตั้งเป็น Container ของ docker ก็ได้ ที่จะอธิบายในครั้งนี้จะเป็นการติดตั้งเป็น Package บน Ubuntu ขั้นตอนแรกคือติดตั้ง Package บน Ubuntu โดยมีขั้นตอนดังต่อไปนี้
- ติดตั้ง Package NGINX $ apt-get install nginx
- สร้างไฟล์ Reverse Proxy $ vi /etc/nginx/sites-available/reverse.conf
โดยที่ upstream เป็นการกำหนด Port ที่ใช้งานในการรัน container
- สร้าง docker-compose.yml file กำหนดการสร้าง Container
โดยที่ปรับเปลี่ยน Password ของ Database ตามต้องการ - ทำการรัน docker-compose
$ docker-compose up -d - ทำการสร้าง Database ให้กับ Wordress
- ทำการติดตั้ง SSL ในที่นี้ใช้ Certbot (จะต้องดำเนินการติดตั้ง Certbot ให้เรียบร้อยก่อน สามารถดูวิธีการติดตั้งได้จาก URL : นี้ https://www.linuxtuto.com/how-to-secure-nginx-with-lets-encrypt-on-ubuntu-22-04)
$ certbot –ngin -d www.buu.in.th
จากนั้นเลือก (1) และใส่ email ให้เรียบร้อย - ทำการ Restart nginx
$ systemctl restart nginx - ทดลองการเรียกใช้ผ่าน URL ตัวอย่างเช่น https://www.buu.in.th และตั้งค่าเว็บไซต์
- ทำการแก้ไขไฟล์ wp-config.php เพื่อให้สามารถทำงานร่วมกับ SSL ได้ โดยเพิ่มคำสั่งต่อไปนี้
cialis and grapefruit enhance
cialis and grapefruit enhance
what is the half life of escitalopram
what is the half life of escitalopram
keflex and rocephin
keflex and rocephin
is cephalexin stronger than amoxicillin
is cephalexin stronger than amoxicillin
zoloft and ambien
zoloft and ambien
cymbalta and lorazepam
cymbalta and lorazepam
flagyl sulfa
flagyl sulfa
lexapro with wellbutrin
lexapro with wellbutrin
duloxetine dr 20mg cap
duloxetine dr 20mg cap
does cephalexin cause diarrhea
does cephalexin cause diarrhea
fluoxetine can’t sleep
fluoxetine can’t sleep
cheap viagra 200mg
cheap viagra 200mg
azithromycin 9 month old
azithromycin 9 month old
ciprofloxacin in pregnancy
ciprofloxacin in pregnancy
can cephalexin be used for sinus infection
can cephalexin be used for sinus infection
bactrim dosage for skin infection
bactrim dosage for skin infection
how long after taking bactrim can i drink alcohol
how long after taking bactrim can i drink alcohol
how long does neurontin stay in your urine
how long does neurontin stay in your urine
diclofenac eye drops
diclofenac eye drops
diltiazem hydrochloride side effects
diltiazem hydrochloride side effects
ezetimibe vitamin d
ezetimibe vitamin d
ddavp test for diabetes insipidus
ddavp test for diabetes insipidus
cozaar generic name
cozaar generic name
what will happen if i stop taking flomax
what will happen if i stop taking flomax
depakote er
depakote er
does citalopram make you sleepy
does citalopram make you sleepy
augmentin dosage for sinus infection how many days
augmentin dosage for sinus infection how many days
wet finger method effexor withdrawal
wet finger method effexor withdrawal
20 mg flexeril
20 mg flexeril
contrave 2023
contrave 2023
allopurinol 300 mg
allopurinol 300 mg
aripiprazole tab 2mg
aripiprazole tab 2mg
does tylenol have aspirin in it
does tylenol have aspirin in it
amitriptyline dosage for pain and sleep
amitriptyline dosage for pain and sleep
abilify uses
abilify uses
acarbose combination
acarbose combination
robaxin for opiate withdrawal
robaxin for opiate withdrawal
simultaneous estimation of repaglinide and metformin
simultaneous estimation of repaglinide and metformin
semaglutide breastfeeding
semaglutide breastfeeding
actos irreparables
actos irreparables
remeron drug class
remeron drug class
protonix classification
protonix classification
cost of voltaren at cvs pharmacy
cost of voltaren at cvs pharmacy
is sitagliptin a sglt2 inhibitor
is sitagliptin a sglt2 inhibitor
synthroid valium
synthroid valium
venlafaxine and sertraline together
venlafaxine and sertraline together
spironolactone and xanax reddit
spironolactone and xanax reddit
tizanidine reviews
tizanidine reviews
kann man tamsulosin absetzen
kann man tamsulosin absetzen
ivermectin 0.1
ivermectin 0.1
levitra tablets buy
levitra tablets buy
sildenafil not working
sildenafil not working
boots pharmacy viagra price
boots pharmacy viagra price
eli lilly tadalafil
eli lilly tadalafil
cialis online pills
cialis online pills
viagra levitra order
viagra levitra order
does pharmacy sell viagra
does pharmacy sell viagra
sildenafil vs vardenafil
sildenafil vs vardenafil
buy tadalafil online india
buy tadalafil online india
stromectol price in india
stromectol price in india
vardenafil 20mg dosage
vardenafil 20mg dosage
generic 100mg sildenafil
generic 100mg sildenafil
ivermectin 0.08 oral solution
ivermectin 0.08 oral solution
cheap tadalafil uk
cheap tadalafil uk
ivermectin pills
ivermectin pills
ivermectin 0.5% lotion
ivermectin 0.5% lotion
ivermectin cost
ivermectin cost
female viagra australia for sale
female viagra australia for sale
ivermectin 0.1 uk
ivermectin 0.1 uk
vardenafil reddit
vardenafil reddit
gabapentin drug class
gabapentin drug class
prednisone sore throat
prednisone sore throat
trimox 500 mg cap
trimox 500 mg cap
can amoxicillin make you tired
can amoxicillin make you tired
provigil active ingredients
provigil active ingredients
ampicillin neonate dosing
ampicillin neonate dosing
cephalexin and birth control
cephalexin and birth control
how much gabapentin equals lyrica
how much gabapentin equals lyrica
how long is cold sore contagious after valtrex
how long is cold sore contagious after valtrex
doxycycline for staph infection
doxycycline for staph infection
how long does tamoxifen stay in your system
how long does tamoxifen stay in your system
ciprofloxacin and alcohol
ciprofloxacin and alcohol
lisinopril weight loss
lisinopril weight loss
does flagyl cause dark urine
does flagyl cause dark urine
how many hours apart should you take metformin for adults
how many hours apart should you take metformin for adults
trazodone side effects in dogs
trazodone side effects in dogs
keflex in pregnancy
keflex in pregnancy
prednisone dosage for adults
prednisone dosage for adults
lyrica weight gain
lyrica weight gain
glucophage peso
glucophage peso
ampicillin newborn side effects
ampicillin newborn side effects
what does valtrex treat
what does valtrex treat
can doxycycline make you extremely tired
can doxycycline make you extremely tired
lisinopril-hydrochlorothiazide
lisinopril-hydrochlorothiazide
what is nolvadex used for
what is nolvadex used for
flagyl for c.diff
flagyl for c.diff
keflex penicillin allergy
keflex penicillin allergy
what can you not take with cephalexin
what can you not take with cephalexin