Config Nginx for Wordpress
بسم الله Bismillah Server block engine-x (nginx) for wordpress server { listen 80; index index.php index.html index.htm; server_name weklin.id www.weklin.id; root /home/ubuntu/web/weklin.id; # return 301 https://wanfresh.id$request_uri; location / { add_header X-Frame-Options "sameorigin" always; try_files $uri $uri/ /index.php?$query_string; } location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|htc|svg|woff|woff2|ttf)$ { expires 365d; log_not_found off; add_header Cache-Control "public"; add_header Access-Control-Allow-Origin *; add_header X-Frame-Options "SAMEORIGIN"; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.3-fpm.sock; } } الحمد لله ...