0
我想在第一次使用bash顯示此模式時插入一行。我該怎麼去做呢?我想嘗試使用模式來匹配位置/ {*}如何在跨多行的模式之後插入一行文件
location/{
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
,我希望它成爲
location/{
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
location /hbnb_static
謝謝,我會很感激的幫助。
纔有可能要在bash中做到這一點? –
Perl單線程是bash腳本的一行... – SzG